Skip to content

Commit

Permalink
Mac build updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcauliffe committed Sep 19, 2016
1 parent b361e9c commit 52322f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions freezing/freeze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pyinstaller --clean -y \
--exclude-module matplotlib \
--exclude-module pytz \
--exclude-module sphinx \
--exclude-module numpy \
--exclude-module scipy \
aligner/command_line/train_and_align.py

pyinstaller --clean -y \
Expand All @@ -16,6 +18,8 @@ pyinstaller --clean -y \
--exclude-module matplotlib \
--exclude-module pytz \
--exclude-module sphinx \
--exclude-module numpy \
--exclude-module scipy \
aligner/command_line/align.py

cd dist
Expand Down
6 changes: 4 additions & 2 deletions freezing/hooks/hook-aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
collect_data_files, collect_dynamic_libs)

hiddenimports=['six','packaging', 'packaging.version', 'packaging.specifiers',
'packaging.requirements', 'scipy', 'scipy.linalg', 'scipy.integrate']
'packaging.requirements']

thirdparty_dir = os.path.abspath(os.path.join('thirdparty','bin'))
binaries = [( os.path.join(thirdparty_dir, x), 'thirdparty/bin') for x in os.listdir(thirdparty_dir)
binaries = [( os.path.join(thirdparty_dir, x), 'thirdparty/bin')
for x in os.listdir(thirdparty_dir)
if not x.endswith('dylib')
]


0 comments on commit 52322f2

Please sign in to comment.