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
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