[Distutils] easy_install with post-install script

P.J. Eby pje at telecommunity.com
Mon Sep 27 16:32:33 CEST 2010

At 10:41 AM 9/27/2010 +0200, Lacko Roman wrote:
>Is there some way to run some post-install script when installing 
>the python package with easy_install ?
>I need to create some files in folder where the python interpreter is located.
>BTW It is possible with bdist_wininst, because it support post 
>installation scripts, but not with easy_install.

Add a script to your package that performs the installation step (or 
an option to an existing script), and then ask the user to run it 
after the install is complete.

(No, there's no automated way.) 

More information about the Distutils-SIG mailing list