Re: [Distutils] setuptools and additional scripts handling

2010-02-24 Thread Reinout van Rees
On 02/16/2010 09:11 PM, Manlio Perillo wrote: You are right, this is a singleton web application! So, it will not be installed using pip or easy_install. Ah, then you also won't be using buildout, I'd guess :-) If you had, you could have used

Re: [Distutils] setuptools and additional scripts handling

2010-02-17 Thread Raphael Ritz
Manlio Perillo wrote: -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,

Re: [Distutils] setuptools and additional scripts handling

2010-02-17 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raphael Ritz ha scritto: Manlio Perillo wrote: 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

Re: [Distutils] setuptools and additional scripts handling

2010-02-17 Thread Raphael Ritz
Manlio Perillo wrote: [..] However, for my web application there is more work to do. I use Nginx + wsgi module, so I also need to configure Nginx. The Nginx configuration file is actually a Mako template, since some parameters (server name, location paths) depends on the deployment type

[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