-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
d568d34
commit dd83156
Showing
8 changed files
with
47 additions
and
70 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 |
---|---|---|
|
@@ -7,8 +7,11 @@ __pycache__/* | |
venv/ | ||
venv/* | ||
|
||
idea/ | ||
idea/* | ||
.idea/ | ||
.idea/* | ||
|
||
dist/ | ||
dist/* | ||
dist/* | ||
|
||
build/ | ||
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
# Program tested on Python 3.7.0 | ||
|
||
|
||
VERSION_NUM = "v0.10.0" | ||
VERSION_NUM = 'v0.10.1' | ||
|
||
|
||
def main(): | ||
|
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,19 @@ | ||
|
||
:: BAT script for making exe file | ||
:: Created on 01.03.2022 by Bartlomiej Duda | ||
|
||
|
||
@ECHO OFF | ||
if exist dist (rd /s /q dist) | ||
if exist build (rd /s /q build) | ||
|
||
echo Activating venv... | ||
CALL .\venv\Scripts\activate.bat | ||
|
||
echo Executing cxfreeze... | ||
python setup.py build | ||
|
||
|
||
if exist __pycache__ (rd /s /q __pycache__) | ||
|
||
echo BUILD SUCCESSFUL! |
This file was deleted.
Oops, something went wrong.
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 | ||
from main import VERSION_NUM | ||
|
||
build_options = {"packages": [], "excludes": []} | ||
|
||
# base = None | ||
# if sys.platform == "win32": | ||
# base = "Win32GUI" | ||
base = "Console" | ||
|
||
executables = [Executable("main.py", base=base, target_name="EA-Graphics-Manager-" + VERSION_NUM + ".exe")] | ||
|
||
setup( | ||
name="EA-Graphics-Manager " + VERSION_NUM, | ||
version=VERSION_NUM, | ||
description="Tool for managing EA graphics", | ||
options={"build_exe": build_options}, | ||
executables=executables, | ||
) |