[Python-Dev] PEP 427: data directory (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Oct 22 22:20:22 CEST 2012


Hello,

The FAQ has this weird statement:

“This specification does not have an opinion on how you should organize your code. The .data directory is just a place for any files that are not normally installed inside site-packages or on the PYTHONPATH.”

But, say, if I want to install some init script to /etc/init.d by using distutils' data_files argument:

setup.py(..., data_files=[('/etc/init.d', ['my-init-script'])] )

How is it stored and represented by the wheel format?

Regards

Antoine.



More information about the Python-Dev mailing list