[Distutils] easy_install with post-install script

P.J. Eby pje at telecommunity.com
Mon Sep 27 18:04:22 CEST 2010


At 05:05 PM 9/27/2010 +0200, Lacko Roman wrote:
>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 ?

I don't have a specific plan, but am open to finding ways to do 
it.  Those ways, however, need to allow users to know what the 
post-install operations are doing/going to do (with explicit user 
consent), along with having uninstall capabilities.


>Thanks
>-Roman
>
> > -----Original Message-----
> > From: P.J. Eby [mailto:pje at telecommunity.com]
> > Sent: Monday, September 27, 2010 4:33 PM
> > To: Lacko Roman; distutils-sig at 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.)



More information about the Distutils-SIG mailing list