-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for extra entrypoints / plugins / scripts #1454
Comments
@funkyfuture I opened a PR to extend the docs for this very topic a while back that is still pending but may be helpful to you -- https://github.com/sdispater/poetry/pull/1181/files |
thanks for the hint! |
looking at the schema, it seems that isn't implemented for plugins yet. |
So if I understand correctly, extras are implemented for poetry's In this case, @funkyfuture could you change the title to something like "Support for plugins extras"? |
yes, that is correct. i deliberately chose all the terms in the title in order for the issue to be found. eg me would search for entrypoints. |
And I found your issue too but it was a false positive haha 😄 But I do get your point |
@sdispater i think this feature should be available with the first major release. |
This should looked at after #2310 is ready. We could add this as a property of the script or the better the extras themselves similar to optional dependencies. |
Hi @ all, I would be eager to know what the status of this issue is. Because we have a use case for the Our use case is, to optionally provide a I think the only legit solution, without an Looking forward to hear your perspective. best P.S.: @ maintainers & contributors: Huge thanks for your work, I am a happy user of poetry 👍 ! |
I am going to pull the plug on this. According to this:
So basically, while I understand that this could be a nice option, this is something that is not supported by other tools in Python ecosystem. We are working towards better integration with official standards, so as this is not recommended, it's unlikely that Poetry will support it. |
@Secrus thanks for the fast feedback! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature Request
package metadata allows entrypoints (plugins and scripts in poetry) to depend on specific extras. here this example is given:
so the console script
foobar
would only get installed when the extrasbar
andbaz
are specified.afaict this is currently not supported. if i'm wrong with that, i'd be happy to extend the docs in this regards, but i would need advice about the configurations syntax.
The text was updated successfully, but these errors were encountered: