jakeret / hope

HOPE: A Python Just-In-Time compiler for astrophysical computations
GNU General Public License v3.0
382 stars 28 forks source link

Specify additional dependencies #1

Closed iankronquist closed 9 years ago

iankronquist commented 9 years ago

requirements.txt and setup.py do not specify some packages as a dependencies. They should because the makefile uses them. The following packages should be development dependencies:

cosmo-ethz commented 9 years ago

Those are all optional dependencies. I’d like to avoid that the user has to install all these packages even though they’re not necessarily required. Adding them to test_require seems weird as some of them (e.g. sphinx and flake8) have nothing to do with the unit-tests. Is there a proper way of dealing with optional dependencies?

iankronquist commented 9 years ago

Yes there is, I'll do this later today. I think they should all be listed in requirements.txt since that's only for devs. https://pythonhosted.org/setuptools/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies