Closed ghisvail closed 8 years ago
Hi Guislain, sor some reason, your PR went under my radar. Sorry ! I'm not sure it's a good idea to remove the keyword 'install_requires' since it's used by pip to install dependencies. What's in the 'requires' keyword could go away, I guess.
The problem with setuptools is that it does not have the concept of optional requirements. For the packaging, I went for putting numpy
, scipy
and numexpr
in install_requires
.
PyFFTW and PyWavelets should be considered optional deps since they only add more functionality without preventing the package to be run without them. Best way to achieve this is to remove them from install_requires
and just raise an ImportError
if an import of the corresponding submodule is attempted.
If you're happy with this, I'll update my PR.
I have included your PR by hand (I added mpi4py), but I gave the credits to you on the commit log message.
temporary fixup for #19: