Skip to main content

Automatically inserts your currently used package versions to setup.py.

Project description

pypkgfreeze

Python's npm install --save

Code style: black Build Status

Automatically inserts your currently used package versions to setup.py.

Example

Old setup.py

from setuptools import setup
test_req = ['pytest', ]
setup(
    name='pypkgfreeze',
    install_requires=[
        "Click",
    ],
    tests_require=test_req,
    extras_require={
        'test': test_req
    }
)

New setup.py

from setuptools import setup
test_req = ['pytest==4.0.2', ]  # ADDED VERSION HERE
setup(
    name='pypkgfreeze',
    install_requires=[
        "Click==7.0",  # AND HERE
    ],
    tests_require=test_req,
    extras_require={
        'test': test_req
    }
)

Usage

pkgfreeze. It's that simple.

Installation

pip install pypkgfreeze

Contributing

Thanks! Please read the CONTRIBUTING.md file.

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

pypkgfreeze-0.1.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file pypkgfreeze-0.1.2.tar.gz.

File metadata

  • Download URL: pypkgfreeze-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.3

File hashes

Hashes for pypkgfreeze-0.1.2.tar.gz
Algorithm Hash digest
SHA256 25a10f8154bb3122728981f4cd40c1c9081cde166dd8f6386a5ab0e2651cf67c
MD5 0e276c086745db2ca75ee0212e3a632b
BLAKE2b-256 4fa7c6a261611ab64a8abd6760e0662fe30781258c591ed0a2e659f28be4340b

See more details on using hashes here.

Supported by

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