cython_template
cython_template copied to clipboard
Dependencies?
Hey Jake. How is it possible to declare installation requirements for a package using distutils? It seems kind of odd... Also, what is the reason to use numpy distutils instead of setuptools here?
I think it's possible, but I tend to avoid anything relating to dependencies and requirements with distutils/setuptools. Having those tools automatically try to install/upgrade dependencies is almost never what I want (for example, when I first released mpld3 I put a specific matplotlib version in requirements.txt; I later got a report that someone had typed pip install mpld3 and it broke their scientific computing environment because pip tried to upgrade matplotlib).
The reason I used numpy's distutils is that I tend to write Cython code that operates on numpy arrays, so this is what I've always done.
hmmm pip install mpld3 should not parse the requirements.txt, right?
hmmm pip install mpld3 should not parse the requirements.txt, right?
Maybe I listed it somewhere else... I can't recall.