Hi,

I use the GNU Autotools when I program in C. They generate a config.h
file containing useful information such as the PACKAGE_VERSION that can
be retrieved by simply including the file. I'd like to know if there
exists anything similar with distutils. I am trying to distribute a
script where I should be able to output the current version number.

I thought that I could do things in an opposite way as in C. Rather than
having the building system to create the config.h, I could import a
config.py in my setup.py and distribute it as a py_module along with the
script.

Do you have better solutions?

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to