-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kadachii
committed
Nov 21, 2022
1 parent
c2e5732
commit 96fea70
Showing
18 changed files
with
28 additions
and
20 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
venv | ||
venv | ||
build |
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,4 @@ | ||
call venv/Scripts/activate.bat | ||
cd src | ||
python setup.py build -b ../build --build-exe ../build/Knuckles_to_OSC | ||
cd .. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
@echo off | ||
start Knuckles_to_OSC.exe --debug |
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
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,20 @@ | ||
import sys | ||
from cx_Freeze import setup, Executable | ||
|
||
# Dependencies are automatically detected, but it might need fine tuning. | ||
# "packages": ["os"] is used as example only | ||
packages = ["os", "json", "traceback", "openvr", "sys", "time", "ctypes", "argparse", "pythonosc", "collections", "setuptools", "packaging", "pkg_resources"] | ||
exclude = ["tkinter", "asyncio", "concurrent", "lib2to3"] | ||
include = ["packaging.version", "pyparsing"] | ||
file_include = ["config.json", "ovrConfig.json", "openvr/", "bindings/", "app.vrmanifest", "debug_mode.bat"] | ||
bin_excludes = ["_bz2.pyd", "_decimal.pyd", "_hashlib.pyd", "_lzma.pyd", "_queue.pyd", "_ssl.pyd", "libcrypto-1_1.dll", "libssl-1_1.dll", "ucrtbase.dll", "VCRUNTIME140.dll"] | ||
|
||
build_exe_options = {"packages": packages, "includes": include, "excludes": exclude, "include_files": file_include, "bin_excludes": bin_excludes} | ||
|
||
setup( | ||
name="knuckles_to_osc", | ||
version="0.1", | ||
description="Knuckles to OSC", | ||
options={"build_exe": build_exe_options}, | ||
executables=[Executable("knuckles_to_osc.py", target_name="Knuckles_to_OSC.exe", base=False, icon="icon.ico")], | ||
) |