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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pip-pin, version 0.0.6.post1
Filename, size File type Python version Upload date Hashes
Filename, size pip_pin-0.0.6.post1-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pip-pin-0.0.6.post1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page