How to maintain pip install options in requirements file made by pip freeze?

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.

Leave a Comment

tech