terça-feira, 13 de dezembro de 2016

Arquivo requirements.txt

args==0.1.0
beautifulsoup4==4.5.1
bs4==0.0.1
chicken==0.1.0
clint==0.5.1
egg==0.2.0
Flask==0.10.1
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
oauth==1.0.1
pkg-resources==0.0.0
pkginfo==1.4.1
py==1.4.31
pytest==3.0.4
requests==2.12.1
requests-toolbelt==0.7.0
twine==1.8.1
Werkzeug==0.11.11

Criar ambiente virtual

virtualenv py35

Ativar o ambiente virtual

source py35/bin/activate

Instalando pacotes com pip

pip install -r requirements.txt
pip install -r requirements.txt -f file:///path/to/packages
pip install -r requirements.txt -f ./path/to/packages
pip install -r requirements.txt -i https://10.100.0.150/dev/test/+simple incolumepy
pip install -r requirements.txt -i http://10.100.0.150/dev/test/+simple --trusted-host 10.100.0.150 incolumepy

0 comentários: