[Distutils] setuptools and additional scripts handling

2010-02-16 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I'm starting to use setuptools for my projects and I have a few questions. In my web applications, usually I have some scripts that needs to be installed as cron scripts. I would like to install them using setuptools, since it is important that

Re: [Distutils] setuptools and additional scripts handling

2010-02-16 Thread P.J. Eby
At 02:23 PM 2/16/2010 +0100, Manlio Perillo wrote: Is it possible to declare a custom directory where some of the scripts needs to be installed? No. However, you can always create a script whose job is to symlink your other scripts to the appropriate cron directory, and ask your users to

Re: [Distutils] setuptools and additional scripts handling

2010-02-16 Thread P.J. Eby
At 04:37 PM 2/16/2010 +0100, Manlio Perillo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 P.J. Eby ha scritto: At 02:23 PM 2/16/2010 +0100, Manlio Perillo wrote: Is it possible to declare a custom directory where some of the scripts needs to be installed? No. However, you can

Re: [Distutils] setuptools and additional scripts handling

2010-02-16 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 P.J. Eby ha scritto: At 04:37 PM 2/16/2010 +0100, Manlio Perillo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 P.J. Eby ha scritto: At 02:23 PM 2/16/2010 +0100, Manlio Perillo wrote: Is it possible to declare a custom directory where

Re: [Distutils] setuptools and additional scripts handling

2010-02-16 Thread P.J. Eby
At 09:11 PM 2/16/2010 +0100, Manlio Perillo wrote: You are right, this is a singleton web application! So, it will not be installed using pip or easy_install. I have to decide if it is best to abuse setuptools plugin support, in order to install system services (cron scripts, init.d script) or