Repository navigation
Conversation
travis: check all branches + fix URL
Run tests with ``nosetests pywt`` or ``python -c "import pywt; pywt.test()"``.
This fixes all the easy issues; building with Python 3.x now works (without 2to3). There's some 2.x specific C code that needs fixing before the package can be imported and used with 3.x.
Change to Numpy templating system
|
Wow. Epic work. +1 |
|
Thanks Ralf, great work here. +1 to pull |
|
Nice work! |
|
@rgbkrk effectively that's what seems to be happening already with https://github.com/rgommers/pywt, there have been contributions to that repo from 4 different people already. I'm a bit hesitant to make that "official" though, because (a) I'd still prefer to get our changes merged here, and (b) I don't have much time to do this right. Eventually the plan is to add my branch of I suggest you start contributing to my branch if you have PRs to make. I'm not planning to declare an official release of a PyWavelets fork and make releases on PyPi. I'd appreciate any feedback from @nigma though on whether he plans to pick up work on this project in the future or not. |
|
Guys I would like to help on Py3 branch. What should I do? Thanks in advance. |
|
@helderc Python 3 support is completed in this PR and in https://github.com/rgommers/pywt. If you're interested to help out to further improve code/docs/examples/... in https://github.com/rgommers/pywt, I'm happy to give you pointers. A first straightforward thing to do to get the pull request workflow down could be to update the README to explain that Python 3 supportis finished and that issues with that repo should be reported at https://github.com/rgommers/pywt/issues. There are also some things that could be improved listed in https://github.com/rgommers/pywt/issues/38 |
|
@rgommers Ah ok. I'll do that in this weekend. I'm using Kubuntu (14.04) in a 32 bits machine. In official Ubuntu's repo we dont have the package of PyWavelets for Py3, only for Py2. Shoud I compile from the source to do it work on Py3? Have you any recipe for that? Thank you. |
|
Indeed, you should install it from the git repo. To get started with git, this is a good description (just replace the numpy repo with mine when cloning, the rest is the same): http://docs.scipy.org/doc/numpy-dev/dev/ You should install the Python development headers with apt or muon on Kubuntu, should be called for a local install. To verify that that worked, run the tests: |
|
Great! I'll do that. Thank you @rgommers. |
|
Closing, this is in the new main repo at https://github.com/PyWavelets/pywt |
Hi @nigma, here's a large refactoring that adds single code base Python 3 support, a unit test suite, numpy-style docstrings, and a lot of changes to the internals. It should be fully backwards compatible.
I know this will not be trivial to review. And am actually not sure if this project is still active or not. If you're interested and want me to split this in a few parts, please let me know. Before doing that it would help if you could look at the overall structure of changes though to make sure you agree with those.