Commits

Anonymous committed 72fdc76

The stub executables didn't get included in the
egg files.

Furthermore, the name of the stub executable for
32-bit builds was wrong for the bundle template.

  • Participants
  • Parent commits 7b510fd

Comments (0)

Files changed (8)

 NEWS
 ====
 
+py2app 0.5.1
+------------
+
+py2app 0.5.1 is a bugfix release
+
+Bug fixes:
+
+- Ensure stub executables get included in the egg files
+
+- Fix name of the bundletemplate stub executable for 32-bit builds
+
+
+
 py2app 0.5
 ----------
 

File py2app/bundletemplate/prebuilt/main-32bit

Binary file removed.

File py2app/bundletemplate/prebuilt/main-fat

Binary file added.

File py2app/bundletemplate/prebuilt/main-fat3

Binary file modified.

File py2app/bundletemplate/prebuilt/main-intel

Binary file modified.

File py2app/bundletemplate/prebuilt/main-universal

Binary file modified.

File py2app/bundletemplate/setup.py

 import os
 import re
 import distutils.sysconfig
+import distutils.util
 
 gPreBuildVariants = [
     {
         'cc': 'gcc-4.2',
     },
     {
-        'name': 'main-32bit',
+        'name': 'main-fat',
         'target': '10.3',
         'cflags': '-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc',
         'cc': 'gcc-4.0',
 setup(
     # metadata
     name='py2app',
-    version='0.5',
+    version='0.5.1',
     description='Create standalone Mac OS X applications with Python',
     author='Bob Ippolito',
     author_email='bob@redivi.com',
     packages=find_packages(),
     package_data={
         'py2app.apptemplate': [
-            'prebuild/main-fat',
-            'prebuild/main-fat3',
-            'prebuild/main-intel',
-            'prebuild/main-universal',
+            'prebuilt/main-fat',
+            'prebuilt/main-fat3',
+            'prebuilt/main-intel',
+            'prebuilt/main-universal',
             'lib/__error__.sh',
             'lib/site.py',
             'src/main.c',
         ],
         'py2app.bundletemplate': [
-            'prebuilt/main',
+            'prebuilt/main-fat',
+            'prebuilt/main-fat3',
+            'prebuilt/main-intel',
+            'prebuilt/main-universal',
             'lib/__error__.sh',
             'lib/site.py',
             'src/main.m',