You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyWavelets fails to install from sdist with standard Python tooling because it relies on presence of numpy in its setup.py. Thus, running pip install --no-binary :all: ... or python setup.py sdist fails with a clean Python installation (no external packages). Since the package is published on PyPI (https://pypi.python.org/pypi/PyWavelets), it needs to be able to build from source distribution (tar.gz file) self-sufficiently.
The fact that the package imports numpy in setup.py indicates that the package needs numpy in setup_requires. This creates a chicken-and-egg kind of problem that is not easy to hack around, but it may be possible. Please take a look at scipy and what they are doing in setup.py: https://github.com/scipy/scipy/blob/master/setup.py. This may help with fixing this issue for PyWavelets.
The text was updated successfully, but these errors were encountered:
pip parses pyproject.toml to find setup dependencies
pip installs those dependencies
pip then builds pywavelets by executing setup.py, producing a wheel
that wheel then gets installed
It's possible that you need a development version of pip, I haven't kept up with its release schedule over the last couple of months.
Note that pip has never supported setup_requires, and what scipy does works but is a bit hacky. PEP 518, while very new, is the official recommended way to get things to work the way they should.
Uh oh!
There was an error while loading. Please reload this page.
PyWavelets fails to install from sdist with standard Python tooling because it relies on presence of numpy in its setup.py. Thus, running
pip install --no-binary :all: ...
orpython setup.py sdist
fails with a clean Python installation (no external packages). Since the package is published on PyPI (https://pypi.python.org/pypi/PyWavelets), it needs to be able to build from source distribution (tar.gz file) self-sufficiently.The fact that the package imports numpy in setup.py indicates that the package needs numpy in
setup_requires
. This creates a chicken-and-egg kind of problem that is not easy to hack around, but it may be possible. Please take a look at scipy and what they are doing in setup.py: https://github.com/scipy/scipy/blob/master/setup.py. This may help with fixing this issue for PyWavelets.The text was updated successfully, but these errors were encountered: