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