THIS IS AN EXPERIMENT. PLAY WITH IT, THINK ABOUT IT, DON'T USE IT ON PRODUCTION.
Let me know what you think.
Specify and pin dependencies from
from setuptools import find_packages, setup setup( name='meriadok', version='1.0.', packages=find_packages(), setup_requires=[ 'pip-pin', ], install_requires=[ 'flask', ], tests_require=[ 'pytest', ], develop_requires=[ 'black', ], )
Just install whatever you want with
This will produce (or update)
.pip-pin directory, which you are supposed to commit into the repo.
$ ./setup.py pin [(--install|--tests|--develop)]
Note that this will pin only things listed in a respective
section. This means you can have additional stuff installed on your local
virtualenv, and noone is going to care until you make it a dependency.
Installing pinned dependencies:
$ ./setup.py sync [(--install|--tests|--develop)]
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.