jayvdb added a subscriber: Earwig. jayvdb added a comment.
In https://phabricator.wikimedia.org/T68010#960159, @jayvdb wrote:
pypi has the following binary packages in addition to the 0.3.3 source tarball. mwparserfromhell-0.3.3-cp26-none-win32.whl mwparserfromhell-0.3.3-cp27-none-win32.whl mwparserfromhell-0.3.3-cp32-none-win32.whl
As we now support py3, we also need binary packages for cp33 and cp34 (I believe one binary package for all py3+ should be possible, but I've only had a cursory glance at tokenizer.c and the outstanding issues), or its setup.py could be fixed so that it doesnt compile unless the compiler is present, so that it falls back to the pure python version (this is https://github.com/earwig/mwparserfromhell/issues/26 ; it is closed, but I'll work on a patch for this).
A quick hack...
https://github.com/jayvdb/mwparserfromhell/commit/c0e9c7c68ce25db935e84a3e09...
Only tested on py2.6 on Linux without Python.h , so needs more testing before a pull request.
TASK DETAIL https://phabricator.wikimedia.org/T68010
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, Legoktm, liangent, jayvdb, Xqt, Ricordisamoa, Earwig