-
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
Run a specific command after installation on a library #1578
Comments
I agree this would be useful. |
I need it after installation 'spacy' by official manual if i check any Model https://spacy.io/usage |
This is my exact use case. Maybe |
same use case for me, anything that can be done here? |
Isn't this a duplicate of #265? If that is the case, the answer would unfortunately be "won't do" |
Maybe this answer will be helpful. |
Not really. #265 is about extending poetry with custom code. This issue is about running a post-install command hook, which I agree is a very valid use case for a development setup, e.g., setup external tools and other stuff after running |
There are no plans for a build-in functionality for this. But it should be possible to create a poetry plugin for it: https://python-poetry.org/docs/plugins/#event-handler |
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
I was trying to install pre-commit library and I found out that every time I pass the project to a friend I need to tell him to run the command pre-commit install --hook-type={pre-commit,pre-push} so we can use the hooks, is that a way that I can make a post-install command so I make sure to run the hooks
The text was updated successfully, but these errors were encountered: