Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
il y a 3 ans
Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
il y a 3 ans
Ben Kurtovic
4e63226f6b
Fix setup.py test invocation ( #263 )
il y a 3 ans
Ben Kurtovic
90b47f09e9
Add find_packages() back to setup.py ( fixes #263 )
il y a 3 ans
Ben Kurtovic
297bcb0cee
Move mwparserfromhell to src/ dir
il y a 3 ans
Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
il y a 3 ans
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
il y a 3 ans
Ben Kurtovic
d650f827b3
Drop EOL Python 3.4 support
il y a 4 ans
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.
il y a 4 ans
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.
il y a 4 ans
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
il y a 4 ans
Ben Kurtovic
1d5db41751
Add Python 3.8 to CI
il y a 4 ans
Ben Kurtovic
de6e671c40
Update changelog, remove now-unneeded test discovery script, cleanup
il y a 6 ans
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
il y a 6 ans
Hugo
59636609db
Drop support for EOL Python
il y a 6 ans
Ben Kurtovic
1a4e2fc019
Add Python 3.7 to trove classifiers.
il y a 6 ans
Ben Kurtovic
c3ec81adc3
Try Python 3.6 in Travis ( #173 )
il y a 7 ans
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 >.
il y a 7 ans
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
il y a 8 ans
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
il y a 9 ans
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.
il y a 9 ans
Ben Kurtovic
04188b590e
Start work on support for Python 3.5 (for #101 )
il y a 9 ans
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
il y a 9 ans
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.
il y a 9 ans
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.
il y a 9 ans
Kunal Mehta
cb875ae347
Force opening README.rst as utf-8
Causes issues if the locale is not set to utf-8
il y a 10 ans
Ben Kurtovic
d8adb62454
Some tweaks, but no change in functionality.
il y a 10 ans
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
il y a 10 ans
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
il y a 10 ans
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.
il y a 10 ans
Marcio Faustino
a65357a535
Correct dependency for Python 3.
il y a 10 ans
Marcio Faustino
2183003997
Python 2.6 is now supported.
il y a 10 ans
Marcio Faustino
88c8fb88e0
Switch to `unittest2` to be able to use new features in Python 2.6.
il y a 10 ans
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
il y a 10 ans
Merlijn van Deen
df181947af
setup.py: Raise Exception on unsupported platforms
il y a 10 ans
Ben Kurtovic
066049b46a
Update email address.
il y a 11 ans
Ben Kurtovic
37003d2ed1
Bump version to 0.4.dev and add support for Python 3.2.
il y a 11 ans
Ben Kurtovic
c7617c3eb3
Bump version to 0.4.dev; also update README and setup.py.
il y a 11 ans
Ben Kurtovic
0e19b20156
release/0.3
il y a 11 ans
Ben Kurtovic
25d53cacf8
Begin porting C tokenizer to Python 3.
il y a 11 ans
Ben Kurtovic
a3a35b1e73
Only compile Tokenizer on Python 2 for now.
il y a 11 ans
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
il y a 11 ans
Ben Kurtovic
1f47e10f04
Start some Py3k compatibility stuff.
il y a 12 ans
Ben Kurtovic
4cc4791d48
Adding a bunch more, and implementing Tokenizer_push_textbuffer.
il y a 12 ans
Ben Kurtovic
e0660f8bc3
Committing this C work for now.
il y a 12 ans
Ben Kurtovic
ce43b44596
Copyedit, fixes, clarify Python 2 + 3 support.
il y a 12 ans
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
il y a 12 ans
Ben Kurtovic
a880ff8bf2
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
il y a 12 ans
Ben Kurtovic
ce8adf4b2e
Initial commit
il y a 12 ans