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
When installing csa with pip, then the dependencies matplotlib and nump must be installed manually beforehand.
Due to this problem, this package (and also all packages depending on it) can't be simply installed via requirements.txt (Example of downstream issue). This problem gets more significant if you use this package in build-pipelines where introducing extra steps always comes along with an increase in complexity.
causes
install_requires is not declared in setup.py
setup.py imports csa to read the version number, which in turn imports everything else, including matplotlib and numpy
suggested fix:
rename "requires" to "install_requires" in setup.py
* properly declare install_requires, so requirments get installed automatically when installed with pip
* fixed#19. Don't import the module itself in setup.py, because that breaks pip's install process
* formatting
problem
When installing csa with pip, then the dependencies matplotlib and nump must be installed manually beforehand.
Due to this problem, this package (and also all packages depending on it) can't be simply installed via requirements.txt (Example of downstream issue). This problem gets more significant if you use this package in build-pipelines where introducing extra steps always comes along with an increase in complexity.
causes
install_requires
is not declared insetup.py
setup.py
imports csa to read the version number, which in turn imports everything else, including matplotlib and numpysuggested fix:
setup.py
(I will open a PR for this)
reproduction
actual behavior: The last line fails with
ImportError: No module named numpy
expected behavior: No errors, because numpy and matplotlib get installed automatically
The text was updated successfully, but these errors were encountered: