Commits

Ronald Oussoren committed 6a7b636

Attempt to fix issue number 41

  • Participants
  • Parent commits 977ae8c
  • Branches pyobjc-2.5.x

Comments (0)

Files changed (2)

pyobjc-core/NEWS.txt

 - Issue #43: It was no longer possible to create instances of
   LaunchServices.LSLaunchURLSpec due to incomplete metadata.
 
+- Issue #41: the 'install.py' script in the root of pyobjc repository 
+  failed to perform an install when running in a clean checkout of the tree.
+
 Version 2.5
 -----------
 

pyobjc-core/setup.py

 # (issue 123 in the distribute tracker)
 class my_egg_info (egg_info.egg_info):
     def run(self):
-        egg_info.egg_info.run(self)
+        self.mkpath(self.egg_info)
 
         for hdr in ("pyobjc-compat.h", "pyobjc-api.h"):
             fn = os.path.join("include", hdr)
 
             write_header(self, fn, os.path.join(self.egg_info, fn))
 
+        egg_info.egg_info.run(self)
+
+
 if sys.version_info[0] == 3:
     # FIXME: add custom test command that does the work.
     # - Patch sys.path