<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Terminus">See the twisted.python.dist module to understand
installation process for the twisted subprojects.<br>
For real example check any plugin of the Twisted and make setup.py file
in&nbsp; your own project directory.<br>
Be careful, in the twisted subprojects&nbsp; setup&nbsp; modules is in the
topfiles directory. It necessary for the <br>
twisted's release script, you don't need it if you plugin isn't under
twisted maintainence.<br>
</font><br>
Chris Miles wrote:
<blockquote cite="mid:2C4BC941-C6E5-4C1A-ACDE-5A386E615E7C@gmail.com"
 type="cite">I want to deploy my Twisted app as a Twisted Application
Plugin for twistd as per
  <br>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/projects/core/documentation/howto/tap.html">http://twistedmatrix.com/projects/core/documentation/howto/tap.html</a>
  <br>
  <br>
I want to distribute my app as a tarball, so the user would untar it
and run "python setup.py install".&nbsp; Then they would run "twistd myapp"
to start it.
  <br>
  <br>
How do I configure setup.py so that twisted/plugins/myapp.py is
created?
  <br>
  <br>
Where do I create the twisted/plugins directory?
  <br>
  <br>
(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).
  <br>
  <br>
Cheers,
  <br>
Chris
  <br>
  <br>
  <br>
_______________________________________________
  <br>
Twisted-Python mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
  <br>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
  <br>
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
"""
Best regards, 
Alexander Burtsev, 
Web Development Department, TV Channel 'Sport' 
"""</pre>
</body>
</html>