This project has been archived by its maintainers, and is no longer receiving any updates.
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:
Just install whatever you want with pip.
Pinning
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 setup.py
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.
Pinned dependencies:
Installing pinned dependencies:
$ ./setup.py sync [(--install|--tests|--develop)]
Metadata
Release files for pip-pin 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pip-pin-0.0.10.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pip_pin-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / pip-pin-0.0.10.tar.gz
| Download URL | pip-pin-0.0.10.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa8cdd841d91426b993d94adbeb951fcc598c84be8b2a00b61ab3fe5f84f6f25
|
|
BLAKE2b-256 checksum How to use checksums |
f2f9f0167975572bed0193c0641c06700ae423e8ba2b9419d862b5fe42cb9612
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.12
|
Release files / pip_pin-0.0.10-py3-none-any.whl
| Download URL | pip_pin-0.0.10-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
557fe192f904c58bbf443a2beabe55c6e4212dd5bbd2e9759a6e4b378faff788
|
|
BLAKE2b-256 checksum How to use checksums |
b20d64de587eca0c767015979434c0078e26845d0eac0b0819ba2017e97028cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.12
|