[Distutils] Finding my data_files

Phillip J. Eby pje at telecommunity.com
Mon Jan 14 16:47:27 CET 2008


At 03:32 PM 1/14/2008 +0000, Paul Moore wrote:
>On 14/01/2008, Phillip J. Eby <pje at telecommunity.com> wrote:
> > At 11:24 AM 1/14/2008 +0000, Paul Moore wrote:
> > >If I have a module which installs some files using the
> > >data_files=[...] argument to setup.py, how do I then (reliably) find
> > >those files from my code?
> >
> > You can't.  Use package_data instead.  It's available in the
> > distutils as of Python 2.4.
>
>I thought that might be the answer. Unfortunately, MoinMoin still
>preserves compatibility with 2.3 :-(

So does setuptools.  :)



More information about the Distutils-SIG mailing list