Skip to content

Commit

Permalink
Tweaks to Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
quicklizard99 committed Apr 28, 2016
1 parent 1cada97 commit 12ccb3d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,19 @@
}
for script in SCRIPTS
],
# Strings in braces within 'include_files' tuples expanded in cx_setup
'include_files': [
('{site_packages}/numpy', 'numpy'),
('{site_packages}/scipy', 'scipy'),
('{site_packages}/sklearn', 'sklearn'),
('{environment_root}/Library/bin/mkl_core.dll', 'mkl_core.dll'),
('{environment_root}/Library/bin/msvcr90.dll', 'msvcr90.dll'),
('{environment_root}/Library/bin/libiomp5md.dll', 'libiomp5md.dll'),
],
'extra_packages': ['win32com.gen_py'],
'excludes': [
'Tkinter', 'ttk', 'Tkconstants', 'tcl',
'future.moves' # Errors from urllib otherwise
'Tkinter', 'ttk', 'Tkconstants', 'tcl', '_ssl',
'future.moves', # Errors from urllib otherwise
'PySide.QtNetwork',
]
}
}
Expand Down Expand Up @@ -106,6 +107,8 @@ def cx_setup():
'packages': setup_data['packages'] + setup_data['win32']['extra_packages'],
'excludes': setup_data['win32']['excludes'],
'include_files': include_files,
'include_msvcr': True,
'optimize': 2,
},
'bdist_msi': {
'upgrade_code': '{fe2ed61d-cd5e-45bb-9d16-146f725e522f}'
Expand Down

0 comments on commit 12ccb3d

Please sign in to comment.