Skip to content

Commit 7e7de1c

Browse files
author
Stephanie Reeder
committed
update mac setup info
1 parent e98b7fd commit 7e7de1c

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

make.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,21 @@
1818

1919
BASE_DIR = os.path.dirname(os.path.realpath(__file__))
2020
SETUP_DIR = os.path.join(BASE_DIR, 'setup')
21-
DIST_DIR = os.path.join(SETUP_DIR, 'Dist')
2221
WIN_DIR = os.path.join(SETUP_DIR, "Windows")
2322
MAC_DIR = os.path.join(SETUP_DIR, "Mac")
2423

24+
MAC_DIST_DIR = os.path.join(MAC_DIR, "Dist")
25+
DIST_DIR = os.path.join(WIN_DIR, 'Dist')
26+
27+
2528
MAC_WORK_DIR = os.path.join(MAC_DIR, "Temp")
2629
WORK_DIR = os.path.join(WIN_DIR, "Temp")
2730

2831
ICON_DIR = os.path.join('odmtools', 'common', "icons")
2932
WIN_ICON_FILE = os.path.join(ICON_DIR, "ODMTools.ico")
3033
MAC_ICON_FILE = os.path.join(ICON_DIR, "ODMTools.icns")
3134

32-
APP_DIR = os.path.join(MAC_DIR, "ODMTools.app")
35+
APP_DIR = os.path.join(MAC_DIR, 'Dist', "ODMTools.app")
3336
# Location of Windows files
3437
APP_FILE = os.path.join(BASE_DIR, "ODMTools.py")
3538
MAKE_FILE = os.path.realpath(__file__)
@@ -177,7 +180,7 @@ def mac_pyinstaller():
177180
try:
178181
os.system('pyinstaller '
179182
'--clean '
180-
'--distpath=%s ' % DIST_DIR +
183+
'--distpath=%s ' % MAC_DIST_DIR +
181184
'--workpath=%s ' % MAC_WORK_DIR +
182185
'--specpath=%s ' % MAC_DIR +
183186
'--upx-dir=%s ' % BASE_DIR +
@@ -190,6 +193,7 @@ def mac_pyinstaller():
190193

191194

192195
os.system("cp /anaconda/envs/odmtools/lib/libwx_osx_cocoau-3.0.0.0.0.dylib %s" % os.path.join(APP_DIR, "Contents/MacOS/"))
196+
# os.system("cp /anaconda/envs/odmtools/lib/libwx_osx_cocoau-3.0.0.0.0.dylib %s" % os.path.join(APP_DIR, "Contents/MacOS/"))
193197
#copy "libwx_osx_cocoau-3.0.0.0.0.dylib"
194198
return True
195199
except Exception as e:

setup/Mac/ODMTools.packproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
<key>Mode</key>
2929
<integer>1</integer>
3030
<key>Path</key>
31-
<string>/Users/stephanie/DEV/ODMToolsPython/LICENSE.txt</string>
31+
<string>../../LICENSE.txt</string>
3232
<key>Path Type</key>
33-
<integer>1</integer>
33+
<integer>2</integer>
3434
</dict>
3535
</dict>
3636
<key>ReadMe</key>
@@ -52,9 +52,9 @@
5252
<key>Mode</key>
5353
<integer>1</integer>
5454
<key>Path</key>
55-
<string>/Users/stephanie/DEV/ODMToolsPython/setup/Mac/Welcome.rtf</string>
55+
<string>Welcome.rtf</string>
5656
<key>Path Type</key>
57-
<integer>1</integer>
57+
<integer>2</integer>
5858
</dict>
5959
</dict>
6060
</dict>
@@ -75,9 +75,9 @@
7575
<key>GID</key>
7676
<integer>80</integer>
7777
<key>Path</key>
78-
<string>/Users/stephanie/DEV/ODMToolsPython/setup/Mac/ODMTools.app</string>
78+
<string>Dist/ODMTools.app</string>
7979
<key>Path Type</key>
80-
<integer>1</integer>
80+
<integer>2</integer>
8181
<key>Privileges</key>
8282
<integer>493</integer>
8383
<key>Type</key>
@@ -566,9 +566,9 @@
566566
<key>IFPkgDescriptionDescription</key>
567567
<string></string>
568568
<key>IFPkgDescriptionTitle</key>
569-
<string>ODMTools_v1.2.0-beta_setup</string>
569+
<string>ODMTools_v1.2.1</string>
570570
<key>IFPkgDescriptionVersion</key>
571-
<string>1.2.0 Beta</string>
571+
<string>1.2.1 Beta</string>
572572
</dict>
573573
</dict>
574574
<key>Display Information</key>
@@ -584,7 +584,7 @@
584584
<key>CFBundleName</key>
585585
<string>ODMTools</string>
586586
<key>CFBundleShortVersionString</key>
587-
<string>1.2.0</string>
587+
<string>1.2.1</string>
588588
</dict>
589589
<key>Options</key>
590590
<dict>
@@ -619,7 +619,7 @@
619619
<key>IFPkgFlagPackageSelection</key>
620620
<integer>0</integer>
621621
<key>Name</key>
622-
<string>ODMTools</string>
622+
<string>ODMTools_v1.2.1-beta_Mac_installer</string>
623623
<key>Status</key>
624624
<integer>1</integer>
625625
<key>Type</key>

0 commit comments

Comments
 (0)