Closed kloczek closed 3 years ago
This is not a py2pack issue. yagot
does not include the requirements.txt
file in its sdist tarball.
Try to install it (in a venv) with:
$ pip install -e . ~/Downloads/yagot-0.5.0.tar.gz
Processing /home/tom/Downloads/yagot-0.5.0.tar.gz
ERROR: Command errored out with exit status 1:
command: /home/tom/devel/metaextract/.tox/py39/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-xwp4a8va/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-xwp4a8va/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-38mlpr2b
cwd: /tmp/pip-req-build-xwp4a8va/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-xwp4a8va/setup.py", line 54, in <module>
requirements = get_requirements('requirements.txt')
File "/tmp/pip-req-build-xwp4a8va/setup.py", line 34, in get_requirements
with open(requirements_file, 'r') as fp:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
Please fill a bug against yagot
.
Yep done that https://github.com/andy-maier/python-yagot/issues/55 Thx