Comment on How To Package Your Python CodeparentComments−Flimm13yYou can use pkg_resources which comes with setuptools to look up the version number of your package in setup.py: import pkg_resources pkg_resources.get_distribution("PIL").version
Comments
You can use pkg_resources which comes with setuptools to look up the version number of your package in setup.py: