Skip to content

Commit

Permalink
Bugfixes in setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
tp7 committed May 27, 2014
1 parent 51e6b68 commit e40d7a7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
'py2exe': {
'compressed': True,
'optimize': 2,
"excludes": ["translation", "Tkconstants", "Tkinter", "tcl", 'pyreadline', 'numpy.core.multiarray_tests',
'numpy.core.operand_flag_tests', 'numpy.core.struct_ufunc_test', 'numpy.core.umath_tests',
'numpy.core._dotblas'],
"excludes": ["translation", "Tkconstants", "Tkinter", "tcl", 'pyreadline', 'email',
'numpy.core.multiarray_tests', 'numpy.core.operand_flag_tests', 'numpy.core.struct_ufunc_test',
'numpy.core.umath_tests', 'numpy.core._dotblas'],
"dll_excludes": ['w9xpopen.exe', 'AVICAP32.dll', 'AVIFIL32.dll', 'MSACM32.dll', 'MSVFW32.dll'],
}
},
Expand All @@ -33,4 +33,8 @@
dist_dir = 'dist'

# move our license to the right directory
os.rename(os.path.join(dist_dir, 'LICENSE'), os.path.join(dist_dir, 'licenses', 'Sushi.txt'))
license_output_path = os.path.join(dist_dir, 'licenses', 'Sushi.txt')
if os.path.exists(license_output_path):
os.remove(license_output_path)
os.rename(os.path.join(dist_dir, 'LICENSE'), license_output_path)

0 comments on commit e40d7a7

Please sign in to comment.