Pippin
Project description
THIS IS AN EXPERIMENT. PLAY WITH IT, THINK ABOUT IT, DON'T USE IT ON PRODUCTION.
Let me know what you think.
pip pin
Specify and pin dependencies from setup.py
.
TL;DR;
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',
],
)
Non-pinned dependencies:
Runtime:
$ ./setup.py sync --install
Tests:
$ ./setup.py sync --tests
Development:
$ ./setup.py sync --develop
Pinning
This will produce (or update) .pip-pin
directory, which you are supposed to commit into the repo.
$ ./setup.py pin [(--install|--tests|--develop)]
Pinned dependencies:
Installing pinned dependencies:
$ ./setup.py sync --pinned [(--install|--tests|--develop)]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pip-pin-0.0.6.post2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for pip_pin-0.0.6.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ee14a5ce67bff4f0e1a08cc295612ee659c29d4db7f54b3d0a9cd132696804b |
|
MD5 | 94293c4729f133f347f4ded4f2f9d108 |
|
BLAKE2b-256 | aa616c26a08f2a800cc643cbf58edf64a6599192238e577a4c18710e3ae0b949 |