Install package package with predefined dependencies

I would like to install some python packages from local directories (downloaded from GitHub) specified in requirements.txt

 -e ./src/django-django-eca4737 -e ./src/divio-django-appmedia-55835b6 -e ./src/ojii-django-sekizai-25c64f4 -e ./src/ojii-django-classy-tags-f2076f6 -e ./src/theatlantic-django-south-471b16b -e ./src/etianen-django-reversion-bdb9e8e -e ./src/django-mptt-django-mptt-7d3e111 -e ./src/jezdez-django-appconf-53c5de7 -e ./src/jezdez-django_compressor-c726239 -e ./src/mongodb-mongo-python-driver-fcb88ee -e ./src/divio-django-cms-66fbff0 PIL wsgiref 

However, after pip installs packages from local directories ( pip install -r requirements.txt ), it will also install them from remote repositories depending on DjangoCMS (identical versions!). How to avoid this?

+4
source share
1 answer

use the --no-dependencies or just the --no-deps option

 pip install --no-dependencies -r requirements.txt 
+5
source

All Articles