> > > > > 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.
I have found bdist_wininst very usefull, it has adequate support for uninstall and post-install scripts. Also pip supports package uninstallation. > >Thanks > >-Roman > > > > > -----Original Message----- > > > From: P.J. Eby [mailto:[email protected]] > > > Sent: Monday, September 27, 2010 4:33 PM > > > To: Lacko Roman; [email protected] > > > 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.) _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
