Closed waghanza closed 6 years ago
Hi,
I found this awesome project to clearly manage requirements for a python project.
python
The actual requirements.txt file could be used to give requirements to install on setup.py.
requirements.txt
setup.py
In my setup.py file, I am doing
install_requires=open('requirements.txt').readlines()
I want to do this to manage my dependencies in one place.
However, with pipenv I have to do
pipenv
install_requires=toml.loads(open('Pipfile').read())['packages'].keys()
Which requires toml module to be installed.
toml
Is there any workaround ?
Regards,
this is not recommended.
Hi,
I found this awesome project to clearly manage requirements for a
python
project.The actual
requirements.txt
file could be used to give requirements to install onsetup.py
.In my
setup.py
file, I am doingI want to do this to manage my dependencies in one place.
However, with
pipenv
I have to doWhich requires
toml
module to be installed.Is there any workaround ?
Regards,