[Distutils] Finding my data_files

Phillip J. Eby pje at telecommunity.com
Mon Jan 14 15:42:25 CET 2008

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.

More information about the Distutils-SIG mailing list