Packaing configuration files

Miki Tebeka miki.tebeka at gmail.com
Wed Jun 1 12:25:47 EDT 2011


Greetings,

For some modules, I have .yaml file which contains configuration option next to the module itself. For example, there will be mypackage/logger.yaml next to mypackag/logger.py.

What the best way to tell distutils/setuptools to package all these files?

(I can write my custom function to generate data_files, however I'm wondering if there is a better option).

Thanks,
--
Miki



More information about the Python-list mailing list