i done project , has been been pushed git client wants venv. got venv
work , created requirements.txt
file.
my question best practice deployment workflow. far created deploy workflow:
git clone ssh://myawesomerepo cd myawesomerepo pip install virtualenv venv -python=python3.5 env source env/bin/activate pip install -r requirements.txt python run.py
is correct workflow?
assuming don't know version of python client has. project written python 3.5, , if client has 2.7 work?*
i tend use anaconda package manager rather venv, 1 of nice features if run
conda create -n myenv python=3.5
it download , install python 3.5 if it's not installed on system already.
Comments
Post a Comment