diff --git a/circuit_samples.bat b/circuit_samples.bat new file mode 100755 index 0000000..f92616a --- /dev/null +++ b/circuit_samples.bat @@ -0,0 +1,3 @@ +REM redirect to prebuilt/py2exe file + +build\exe.win-amd64-3.6\circuit_samples.exe %* diff --git a/setup.py b/setup.py index 0fd4532..6f114d6 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ author = "Simon Wood", author_email = "simon@mungewell.org", description = "Library for Sample SysEx files for Novation Circuit", - license = "GPLv3", + license = "GPLv2", keywords = "Novation Circuit Sample SysEx", url = "https://github.com/mungewell/circuit_samples", py_modules=["circuit_samples"], diff --git a/setup_py2exe.py b/setup_py2exe.py new file mode 100755 index 0000000..8c8d925 --- /dev/null +++ b/setup_py2exe.py @@ -0,0 +1,21 @@ +from cx_Freeze import setup, Executable + +base = None + +executables = [Executable("circuit_samples.py", base=base)] + +packages = ["construct", "os", "optparse", "sys", "binascii", "mido", "rtmidi_python"] +options = { + 'build_exe': { + 'packages':packages, + 'excludes':["pygame", "numpy"], + }, +} + +setup( + name = "circuit_samples.py", + options = options, + version = "0.1.0.0", + description = "Library for Sample SysEx files for Novation Circuit", + executables = executables +)