Skip to content

Does setuptools ignore dependencies mentioned in console_scripts and makes them available anyway? #2927

Answered by abravalheri
Luxxii asked this question in Q&A
Discussion options

You must be logged in to vote

Hi guys, according to the entry-points specification extra is deprecated in that context:

Using extras for an entry point is no longer recommended. Consumers should support parsing them from existing distributions, but may then ignore them. New publishing tools need not support specifying extras. The functionality of handling extras was tied to setuptools’ model of managing ‘egg’ packages, but newer tools such as pip and virtualenv use a different model.

I have the impression that is the reason why pip go ahead and creates the script wrapper anyway even if the package was not installed with the extra.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@LewisGaul
Comment options

@Luxxii
Comment options

Comment options

You must be logged in to vote
2 replies
@Luxxii
Comment options

@abravalheri
Comment options

Answer selected by abravalheri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants