Since version 7.0 (released 2015-05-21), pip has the ability to parse --install-option
and --global-option
from requirement files. It should now be possible to have the following line in your requirements.txt
:
pymongo==2.1.1 --install-option='--no_ext'
More information can be found here and here.