At 10:41 AM 9/27/2010 +0200, Lacko Roman wrote:
Hi,
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.)
Thanks for reply,
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.
Yes this is how I resolved the problem before
(No, there's no automated way.)
Do You plan to support this in future ?
Thanks -Roman
-----Original Message----- From: P.J. Eby [mailto:pje@telecommunity.com] Sent: Monday, September 27, 2010 4:33 PM To: Lacko Roman; distutils-sig@python.org Subject: Re: [Distutils] easy_install with post-install script
At 10:41 AM 9/27/2010 +0200, Lacko Roman wrote:
Hi,
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.)