-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding all the build stuff to do an exe as well and the pip install s…
…tuff. Also modded app to use the root directory on install for either install method mentioned. I think some other small bug fixes. On branch change_tree_design_to_bases_only Your branch is up to date with 'origin/change_tree_design_to_bases_only'. Changes to be committed: modified: BBB_NMS_Save_File_Manipulator.py modified: CustomTreeWidget.py modified: DataModels.py modified: IniFileManager.py modified: WhichStarshipsToUpgradeDialog.py modified: app_preferences.ini new file: build.sh modified: imports.py
- Loading branch information
Showing
8 changed files
with
65 additions
and
32 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
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 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 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 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 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,4 +1,5 @@ | ||
[Preferences] | ||
tab2_working_file_path = C:/Users/billr/development/BBB-NMS-Save-File-Manipulator/starship_list_test.json | ||
tab1_working_file_path = C:/Users/billr/Desktop/BBB NMS SFM Files/Main Char 1 original 10_10_24 Updated.json | ||
tab2_working_file_path = C:/Users/billr/development/BBB-NMS-Save-File-Manipulator/starship_list_test.json | ||
|
||
|
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,24 @@ | ||
#!/bin/bash | ||
|
||
#make the exe: | ||
rm -rf dist | ||
rm -rf .venv | ||
rm -rf build | ||
pyinstaller --onefile --add-data "C:\MBIN_PROJECTS\Working_Projects\BBB-NMS-SFM-Project\help;help" BBB_NMS_Save_File_Manipulator.py | ||
mv dist/BBB_NMS_Save_File_Manipulator.exe dist/$1.exe | ||
|
||
#let's make the zip: | ||
rm -rf build/to_be_zipped | ||
mkdir -p build/to_be_zipped/BBB_NMS_Save_File_Manipulator | ||
cp setup.py MANIFEST.in requirements.txt build/to_be_zipped | ||
cp *.py build/to_be_zipped/BBB_NMS_Save_File_Manipulator | ||
cp *.json build/to_be_zipped/BBB_NMS_Save_File_Manipulator | ||
cp -R help build/to_be_zipped/BBB_NMS_Save_File_Manipulator | ||
|
||
cd build/to_be_zipped | ||
7z a ../../build/$1.zip * | ||
cd ../.. | ||
|
||
mv build/$1.zip dist | ||
|
||
|
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