You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior python setup.py build to complete successfully not give a traceback
Possible solutions
Add a MANIFEST.in file which contains requirements.txt, I'll prepare a PR
Additional context
python3 ./setup.py build
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/download.py", line 421, in get_file_content
with open(url, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./setup.py", line 31, in <module>
for req in parse_requirements("requirements.txt", session=PipSession(),)
File "./setup.py", line 30, in <listcomp>
str(req.req)
File "/usr/lib/python3/dist-packages/pip/req/req_file.py", line 84, in parse_requirements
filename, comes_from=comes_from, session=session
File "/usr/lib/python3/dist-packages/pip/download.py", line 425, in get_file_content
'Could not open requirements file: %s' % str(exc)
pip.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/download.py", line 421, in get_file_content
with open(url, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./setup.py", line 36, in <module>
for req in parse_requirements("requirements.txt", session=PipSession(),)
File "./setup.py", line 35, in <listcomp>
str(req)
File "/usr/lib/python3/dist-packages/pip/req/req_file.py", line 84, in parse_requirements
filename, comes_from=comes_from, session=session
File "/usr/lib/python3/dist-packages/pip/download.py", line 425, in get_file_content
'Could not open requirements file: %s' % str(exc)
pip.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt
The text was updated successfully, but these errors were encountered:
Describe the bug
The sdist (source distribution package) https://files.pythonhosted.org/packages/01/62/b4260ba40f55af4a82e4fb5b41f381fa3bb0537489b8fa3efb713b6bbb00/mans_to_es-1.6.tar.gz does not contain requirements.txt but setup.py relies on it
To Reproduce
Steps to reproduce the behavior:
Expected behavior
python setup.py build
to complete successfully not give a tracebackPossible solutions
Add a MANIFEST.in file which contains requirements.txt, I'll prepare a PR
Additional context
The text was updated successfully, but these errors were encountered: