I have a Flask app with a dependency on PyTables that needs to go onto a production server. Unfortunately, the script that must be used to install all dependencies only works if everything can be pulled in by pip install -r requirements.txt
. In other words, running scripts / using setup.py is not possible.
PyTables requires numpy at install-time to build (as well as numexpr and cython), so just putting the dependencies sequentially in requirements.txt yields ERROR:: You need numpy 1.4.1 or greater to run PyTables!
.
My hope is that there is some way to just pre-install the dependencies into their own repo and point to that in requirements.txt. This seems hack-ish, and I'm very open to alternative suggestions. Thanks!