Browse Source

Add pyinstaller hooks

Arkadiusz Ryś 2 years ago
parent
commit
cca7df2c00
2 changed files with 2 additions and 1 deletions
  1. 1 1
      .gitlab-ci.yml
  2. 1 0
      requirements.txt

+ 1 - 1
.gitlab-ci.yml

@@ -58,7 +58,7 @@ build-windows-exe:
     - xvfb-run sh -c "wine python.exe -m pip install --upgrade pip; wineserver -w"
     - xvfb-run sh -c "wine python.exe -m pip install --no-warn-script-location -r requirements.txt; wineserver -w"
 #    - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --collect-all graph-exploring-tool --windowed --noconfirm; wineserver -w"
-    - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --name get.exe --paths=graph_exploring_tool --onefile --windowed --noconfirm; wineserver -w"
+    - xvfb-run sh -c "wine pyinstaller graph_exploring_tool/__main__.py --name get.exe --paths=graph_exploring_tool --onefile --noconfirm; wineserver -w"
     - cp dist/get.exe ./
   rules:
     - if: $CI_COMMIT_TAG

+ 1 - 0
requirements.txt

@@ -18,6 +18,7 @@ jinja2      ~= 3.1.2
 flake8      ~= 6.0.0
 coverage    ~= 7.2.5
 pyinstaller ~= 5.10.1
+pyinstaller-hooks-contrib ~= 2023.2
 # pylode        ~= 3.0.4
 # owlready2     ~= 0.40
 # graphviz      ~= 0.20.1