Use of install_requires = file: requirements.txt
raises parse error because hashes are used
#3433
-
Hello! I want to use According #1951 and #3253 the Is there any (alternative) way to achieve this problem currently? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @phorward, this kind of syntax is intentionally not supported. The This is mentioned in the docs1 2:
Currently in the ecosystem it is not possible to translate such hash requirements to package metadata. So, I don't think there are any fully-compatible alternative for this. I suppose you can create your own Footnotes |
Beta Was this translation helpful? Give feedback.
-
Hello @abravalheri, thanks for the clarification. I think I've now found a way to solve it adequately in setup.py. |
Beta Was this translation helpful? Give feedback.
Hi @phorward, this kind of syntax is intentionally not supported.
The
file:
directive in setuptools requires that each line in the file conform with PEP 508. It is not intended to be fully compatible withpip
requirements files.This is mentioned in the docs1 2:
Currently in the ecosystem it is not possible to translate such hash requirements to package metadata. So, I don't think there are any fully-compatible alternative for this.
I suppose you can create your …