[Twisted-Python] How to configure setup.py for a twistd TAP app
eburus at gmail.com
Wed Dec 19 08:39:36 EST 2007
See the twisted.python.dist module to understand installation process
for the twisted subprojects.
For real example check any plugin of the Twisted and make setup.py file
in your own project directory.
Be careful, in the twisted subprojects setup modules is in the
topfiles directory. It necessary for the
twisted's release script, you don't need it if you plugin isn't under
Chris Miles wrote:
> I want to deploy my Twisted app as a Twisted Application Plugin for
> twistd as per
> I want to distribute my app as a tarball, so the user would untar it
> and run "python setup.py install". Then they would run "twistd myapp"
> to start it.
> How do I configure setup.py so that twisted/plugins/myapp.py is created?
> Where do I create the twisted/plugins directory?
> (I see how this works if I run twistd from the directory containing
> twisted/plugins, or if I set PYTHONPATH, but I don't expect my users
> to have to do this).
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
Web Development Department, TV Channel 'Sport'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python