Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
1 anno fa
Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
3 anni fa
Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
3 anni fa
Ben Kurtovic
4e63226f6b
Fix setup.py test invocation ( #263 )
3 anni fa
Ben Kurtovic
90b47f09e9
Add find_packages() back to setup.py ( fixes #263 )
3 anni fa
Ben Kurtovic
297bcb0cee
Move mwparserfromhell to src/ dir
3 anni fa
Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
3 anni fa
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
3 anni fa
Ben Kurtovic
d650f827b3
Drop EOL Python 3.4 support
4 anni fa
Kunal Mehta
03181bcd8b
Port tests to use pytest
pytest is the preferred way to write and run unit tests these days and
it has a cleaner interface - so lets switch to it. The tokenizer tests
especially are much easier to read/understand.
This was mostly done with find/replace regexes and then cleaned up
manually.
4 anni fa
Kunal Mehta
91ed26d864
Set python_requires in setup.py to ">= 3.4"
In addition to replacing the manual version check, this will also
instruct pip to download an older version of mwparserfromhell for
users running earlier Python versions rather than just getting something
broken.
4 anni fa
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
4 anni fa
Ben Kurtovic
1d5db41751
Add Python 3.8 to CI
4 anni fa
Ben Kurtovic
de6e671c40
Update changelog, remove now-unneeded test discovery script, cleanup
6 anni fa
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
6 anni fa
Hugo
59636609db
Drop support for EOL Python
6 anni fa
Ben Kurtovic
1a4e2fc019
Add Python 3.7 to trove classifiers.
6 anni fa
Ben Kurtovic
c3ec81adc3
Try Python 3.6 in Travis ( #173 )
7 anni fa
Reiner Herrmann
c9cd504f14
setup.py: Make source files be in a deterministic order
To make the package build reproducibly, sort the source files in a
deterministic order instead of just globbing them.
Patch originally from
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842628 >.
7 anni fa
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
8 anni fa
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
9 anni fa
Ben Kurtovic
c7497ddf63
Updates to installation/release code.
* Remove unnecessary win_install.ps1.
* Add appveyor version update to release script.
* Make setup.py's pure Python fallback code less intrusive.
9 anni fa
Ben Kurtovic
04188b590e
Start work on support for Python 3.5 (for #101 )
9 anni fa
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
9 anni fa
John Vandenberg
4e8ce52385
Support 'setup.py test' and test without extension
'setup.py test' also uses SystemExit, with args[0] as False.
Detect and re-raise.
Add support for building without extension even when compiler
is functional, and set up extension-less travis builds.
9 anni fa
John Vandenberg
de325a0aea
Issue #26 Use pure python on compilation failure
Allow the compilation of the extension to fail, and switch
to pure python mode.
9 anni fa
Kunal Mehta
cb875ae347
Force opening README.rst as utf-8
Causes issues if the locale is not set to utf-8
10 anni fa
Ben Kurtovic
d8adb62454
Some tweaks, but no change in functionality.
10 anni fa
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
10 anni fa
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
10 anni fa
Ben Kurtovic
1312a1fb8a
Some clean up for Python 2.6 support.
* Removed unittest2 dependency on Python >2.6.
* Moved discover_tests.py into tests/.
* tokenizer.c: Fixed errors noted by -Wshorten-64-to-32.
10 anni fa
Marcio Faustino
a65357a535
Correct dependency for Python 3.
10 anni fa
Marcio Faustino
2183003997
Python 2.6 is now supported.
10 anni fa
Marcio Faustino
88c8fb88e0
Switch to `unittest2` to be able to use new features in Python 2.6.
10 anni fa
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
10 anni fa
Merlijn van Deen
df181947af
setup.py: Raise Exception on unsupported platforms
10 anni fa
Ben Kurtovic
066049b46a
Update email address.
11 anni fa
Ben Kurtovic
37003d2ed1
Bump version to 0.4.dev and add support for Python 3.2.
11 anni fa
Ben Kurtovic
c7617c3eb3
Bump version to 0.4.dev; also update README and setup.py.
11 anni fa
Ben Kurtovic
0e19b20156
release/0.3
11 anni fa
Ben Kurtovic
25d53cacf8
Begin porting C tokenizer to Python 3.
11 anni fa
Ben Kurtovic
a3a35b1e73
Only compile Tokenizer on Python 2 for now.
11 anni fa
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
11 anni fa
Ben Kurtovic
1f47e10f04
Start some Py3k compatibility stuff.
12 anni fa
Ben Kurtovic
4cc4791d48
Adding a bunch more, and implementing Tokenizer_push_textbuffer.
12 anni fa
Ben Kurtovic
e0660f8bc3
Committing this C work for now.
12 anni fa
Ben Kurtovic
ce43b44596
Copyedit, fixes, clarify Python 2 + 3 support.
12 anni fa
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
12 anni fa
Ben Kurtovic
a880ff8bf2
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
12 anni fa
Ben Kurtovic
ce8adf4b2e
Initial commit
12 anni fa