[Twisted-Python] distutils and twisted

Steve Waterbury waterbug at beeblebrox.gsfc.nasa.gov
Wed Nov 6 10:08:22 MST 2002


Alexandre Fayolle wrote:
> 
> On Wed, Nov 06, 2002 at 10:39:42AM -0500, Itamar Shtull-Trauring wrote:
> > On Wed, 06 Nov 2002 10:21:47 -0500
> > Steve Waterbury <waterbug at beeblebrox.gsfc.nasa.gov> wrote:
> >
> > >        data_files = [('lib/python2.2/site-packages/myapp',
> > >        ['myapp/plugins.tml'])
> > >                    ]
> >
> > Twisted's setup.py uses a different, more cross-platform/python-version
> > hack to make sure plugins.tml is installed, with the unfortunate
> > side-effect that you can't install normal data files.
> 
> This is indeed unfortunate, since I need to install datafiles too...

... but you don't need to install your Twisted app at the same time as 
Twisted ... in fact, we prefer not to.  Time to learn distutils.  ;^)

-- Steve.




More information about the Twisted-Python mailing list