Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setup.py doesn't see my requirements.txt

Try

pip install tornado-botocore

it says:

pip.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Code inside setup.py:

REQUIREMETS = [str(r.req) for r in parse_requirements('requirements.txt')]


setup(
    ...
    package_data={'': ['requirements.txt']},
    install_requires=REQUIREMETS,
)

Any thoughts on this?

like image 255
nanvel Avatar asked Oct 11 '14 20:10

nanvel


1 Answers

Add requirements.txt to MANIFEST.in.

like image 124
nanvel Avatar answered Sep 27 '22 15:09

nanvel