-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allows for the generation of standalone release packages using cx_Freeze
- Loading branch information
grey
committed
Mar 26, 2014
1 parent
a1530a1
commit 369f937
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import sys | ||
from cx_Freeze import setup, Executable | ||
|
||
# Dependencies are automatically detected, but it might need fine tuning. | ||
build_exe_options = {"packages": ["os","scipy.sparse.linalg","scipy.sparse.csgraph","scipy.special","matplotlib.backends.backend_tkagg"], "excludes": ["tkinter","sympy"]} | ||
|
||
# GUI applications require a different base on Windows (the default is for a | ||
# console application). | ||
base = None | ||
if sys.platform == "win32": | ||
base = "Win32GUI" | ||
|
||
setup( name = "batch-iv-analysis", | ||
version = "1.0", | ||
description = "Batch curve fitting tool for data files generated by the McGehee LabVIEW IV curve taker", | ||
options = {"build_exe": build_exe_options}, | ||
executables = [Executable("batch-iv-analysis.py", base=base)]) |