Skip to content
Discussion options

You must be logged in to vote

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 with pip requirements files.

This is mentioned in the docs1 2:

... the file format for specifying dependencies resembles a requirements.txt file, however please keep in mind that all non-comment lines must conform with PEP 508 (pip-specify syntaxes, e.g. -c/-r/-e flags, are not supported).

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 …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@abravalheri
Comment options

Answer selected by phorward
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants