[Distutils] Finding my data_files
Paul Moore
p.f.moore at gmail.com
Mon Jan 14 16:32:21 CET 2008
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 :-(
Paul.
More information about the Distutils-SIG
mailing list