Commits  committed 6d0940e

Set py2app.__version__ using pkg_resources, that ensures that the version
stays in sync with the value in

  • Participants
  • Parent commits 0470590

Comments (0)

Files changed (1)

File py2app/

     dest_base - directory and basename for the executable
                 if a directory is contained, must be the same for all targets
-__version__ = "0.4.4"
+import pkg_resources
+__version__ = pkg_resources.require('py2app')[0].version
 # This makes the py2app command work in the distutils.core.setup() case
 import setuptools