尝试
pip install tornado-botocore
它说:
pip.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
setup.py 中的代码:
REQUIREMETS = [str(r.req) for r in parse_requirements('requirements.txt')]
setup(
...
package_data={'': ['requirements.txt']},
install_requires=REQUIREMETS,
)
对此有何想法?
最佳答案
将 requirements.txt
添加到 MANIFEST.in
。
关于python - setup.py 没有看到我的 requirements.txt,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/26319101/