[Distutils] Equivalent of config.h?

Éric Araujo merwok at netwok.org
Wed Jun 16 23:47:41 CEST 2010

There is another solution that doesn’t require the overkill of adding a
mostly useless module or switching away from standard distutils: You can
grep for “__version__ = ” in your script (either with real grep or a few
lines of Python). Not sure this caters to your use case, but at least
it’s recorded in the thread.


More information about the Distutils-SIG mailing list