pypa / pipfile

Other
3.24k stars 144 forks source link

Using pipfile from distutils #97

Closed waghanza closed 6 years ago

waghanza commented 7 years ago

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 on 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

install_requires=toml.loads(open('Pipfile').read())['packages'].keys()

Which requires toml module to be installed.

Is there any workaround ?

Regards,

kennethreitz commented 6 years ago

this is not recommended.