Closed hlein closed 8 years ago
Ping ;) I would like to encourage an existing project to switch to pydeep, but their code is python3, so would need this (or some better changes) landed first.
ack @hlein. Thanks a lot for the PR. Going to test it out on my corpus
@hlein the code looks good. I cleaned up the code a little bit and created the py3 branch. Quick review please?
Thanks! ...In the meantime I lost all my free time, but briefly looking over the py3 commit it looks good to me (and cleaner than my attempt).
Added in #12
The most substantial changes were due to the module initialization changes in python3; also some string->binary changes. Based most of my changes on on https://docs.python.org/3/howto/cporting.html and a few random projects I reviewed. The code remains python2-compatible. Also updated test.py, and added support for 'python[23] setup.py test' after build.