[Distutils] setuptools and additional scripts handling
manlio.perillo at gmail.com
Wed Feb 17 14:47:33 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Raphael Ritz ha scritto:
> Manlio Perillo wrote:
> I'm starting to use setuptools for my projects and I have a few
> 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 the correct python interpreter is used (I use virtualenv), and
> setuptools does this automatically..
> Is it possible to declare a custom directory where some of the scripts
> needs to be installed?
>> A different line of thought.
>> For people adopting buildout
>> could come in handy at times for such use cases.
Thanks, there is also a Unix deployment recipe.
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
(development PC, testing server, production server).
These parameters are defined in a configuration file, and during setup
the configuration file needs to be generated.
Should this be done subclassing the config command?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Distutils-SIG