Skip to content

Adding custom operations on pip install <my_package>[<extra>] #7869

Answered by finswimmer
dboeckenhoff asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @dboeckenhoff,

"post install" script are discourage because they are usually unexpected and can be dangerous. So this is not supported by Poetry.

Instead your package should provide a command that must be run by the user explicit after installing.

fin swimmer

Replies: 2 comments 1 reply

Comment options

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

Answer selected by dboeckenhoff
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