4 ms·
You can do this, but it's not as easy. The pipfile project is an effort to improve this. The current standard way to do this is with a virtualenv and a require
by ATsch 9y ago
You can do this, but it's not as easy. The pipfile project is an effort to improve this.
The current standard way to do this is with a virtualenv and a requirements.txt file in which you specify the version of your dependencies, which you can then install with pip install -r requirements.txt.
Format is "packagename==0.1.0" (>=, < etc work too). VCS urls work too btw, e.g. "git+protocol://site/repo@tag_or_commit"
To get something similar (but inferior) to lockfiles you can use "pip freeze > filename"