Skip to main content

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.

PyPI version shields.io

PyPI status

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)]

Project details


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.10.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

pip_pin-0.0.10-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pip-pin-0.0.10.tar.gz.

File metadata

  • Download URL: pip-pin-0.0.10.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12

File hashes

Hashes for pip-pin-0.0.10.tar.gz
Algorithm Hash digest
SHA256 fa8cdd841d91426b993d94adbeb951fcc598c84be8b2a00b61ab3fe5f84f6f25
MD5 dbfc82e558b7d2e09c29d8fedb69b5a4
BLAKE2b-256 f2f9f0167975572bed0193c0641c06700ae423e8ba2b9419d862b5fe42cb9612

See more details on using hashes here.

File details

Details for the file pip_pin-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pip_pin-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12

File hashes

Hashes for pip_pin-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 557fe192f904c58bbf443a2beabe55c6e4212dd5bbd2e9759a6e4b378faff788
MD5 58f24e3cd21a8c1cb6fd68bf11fbbd08
BLAKE2b-256 b20d64de587eca0c767015979434c0078e26845d0eac0b0819ba2017e97028cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page