Automatically inserts your currently used package versions to setup.py.
from setuptools import setup
test_req = ['pytest', ]
setup(
name='pypkgfreeze',
install_requires=[
"Click",
],
tests_require=test_req,
extras_require={
'test': test_req
}
)
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
}
)
pkgfreeze
. It's that simple.
pip install pypkgfreeze
Thanks! Please read the CONTRIBUTING.md
file.