[Twisted-Python] sub options in twisted applications

Manlio Perillo manlio_perillo at libero.it
Tue Jun 13 04:52:16 EDT 2006

glyph at divmod.com ha scritto:
> On Mon, 12 Jun 2006 15:52:22 -0200, Manlio Perillo
> <manlio_perillo at libero.it> wrote:
>> In general software (but I have only Windows experience here) all
>> modules are in the same directory.
>> So when I run the "main" module, the software directory is in PYTHONPATH.
>> But what if I want to put pyapp.tac in /etc/myapp/ while the application
>> is in /usr/lib/myapp?
> If there were actually a valid reason to do this, your init script would
> do something like ...
>    PYTHONPATH=/usr/lib/myapp:$PYTHONPATH twistd -y /etc/myapp/myapp.tac
> ... but there isn't.  Why is your application so special that it can't
> be installed in the same place as every other python application?  Why
> shouldn't the regular Python interpreter be able to 'import' your modules?

Mailman, as an example, does not install itself in site-package...
GNOME applications written in Python do not install in site-package (non
 100% sure).

Regards  Manlio Perillo

More information about the Twisted-Python mailing list