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. Regards