pip install error - no file or directory `requirements.txt` #33

Closed
lockefox opened this Issue Apr 6, 2017 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

lockefox commented Apr 6, 2017

The way setup.py is written, the project will install correctly directly, and straight from source, but I have an issue using tinymongo with test_requires

error: [Errno 2] No such file or directory: 'requirements.txt'

Though the requirements are passed correctly inside the dist (tinymongo.egg-info/requires.txt) this isn't accessible at setup time. And when pytest tries to get set up, it fails because of requirements.txt

Hard-writing the requirements.txt into setup.py (rather than reading from requirements.txt) would fix this. Or also checking the .egg-info path might do the trick too.

@schapman1974 schapman1974 closed this in #35 Apr 10, 2017

schapman1974 added a commit that referenced this issue Apr 10, 2017

Merge pull request #35 from lockefox/master
FIxes #33 - requirement.txt sourcing inside wheel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment