diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 76e809e..7d4d9b7 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -42,7 +42,7 @@ jobs: pip install -r requirements.txt pip install PyInstaller - python -m PyInstaller --console --onefile --name Bane-Of-Wargs source/main.py source/battle.py source/check_yaml.py source/colors.py source/map_item.py source/train.py source/logger_sys.py --add-data yamale/VERSION:yamale --collect-submodules fsspec + python -m PyInstaller --console --onefile --name Bane-Of-Wargs source/main.py source/battle.py source/check_yaml.py source/colors.py source/map_item.py source/train.py source/logger_sys.py --add-data yamale/VERSION:yamale --collect-submodules fsspec --collect-submodules appdirs - name: Set environment variables run: | echo "GITHUB_USER=$( echo ${{ github.repository }} | cut -d/ -f1 )" >> $GITHUB_ENV diff --git a/compile.sh b/compile.sh index ea9e024..b09ac39 100755 --- a/compile.sh +++ b/compile.sh @@ -1 +1 @@ -python -m PyInstaller --console --onefile --name Bane-Of-Wargs source/main.py source/battle.py source/check_yaml.py source/colors.py source/map_item.py source/train.py source/logger_sys.py --add-data yamale/VERSION:yamale --collect-submodules fsspec +python -m PyInstaller --console --onefile --name Bane-Of-Wargs source/main.py source/battle.py source/check_yaml.py source/colors.py source/map_item.py source/train.py source/logger_sys.py --add-data yamale/VERSION:yamale --collect-submodules fsspec --collect-submodules appdirs diff --git a/docs/BUILDING.md b/docs/BUILDING.md index d36ac29..c56c457 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -40,7 +40,7 @@ Here's a summary of each command case per case that you'll need to run to compil ```bash $ mkdir yamale $ echo `4.0.4` >> yamale/VERSION # for certain reasons, the compiled program needs this file -$ python -m PyInstaller --console --onefile --name Bane-Of-Wargs source/main.py source/battle.py source/check_yaml.py source/colors.py source/map_item.py source/train.py source/logger_sys.py --add-data yamale/VERSION:yamale --collect-submodules fsspec # create a single executable name `Bane Of Wargs` with all the source code in it, the required libraries and additional stuff required +$ python -m PyInstaller --console --onefile --name Bane-Of-Wargs source/main.py source/battle.py source/check_yaml.py source/colors.py source/map_item.py source/train.py source/logger_sys.py --add-data yamale/VERSION:yamale --collect-submodules fsspec --collect-submodules appdirs # create a single executable name `Bane Of Wargs` with all the source code in it, the required libraries and additional stuff required ``` Alternatively, you can run the bash script `compile.sh` in the root directory.