소스 검색

Create windows build

Arkadiusz Ryś 2 년 전
부모
커밋
ad4a44b6bc
3개의 변경된 파일29개의 추가작업 그리고 11개의 파일을 삭제
  1. 17 0
      .gitlab-ci.yml
  2. 1 1
      README.rst
  3. 11 10
      requirements.txt

+ 17 - 0
.gitlab-ci.yml

@@ -47,3 +47,20 @@ build-upload:
     - python -m twine upload dist/*
   only:
     - tags
+
+build-windows-exe:
+  image: cdrx/pyinstaller-windows
+  stage: build
+  script:
+    - pip install -r requirements.txt
+#    - pyinstaller graph_exploring_tool/__main__.py --onefile --add-data data:data --collect-all graph-exploring-tool --windowed --noconfirm
+    - pyinstaller graph_exploring_tool/__main__.py --onefile
+    - cp -r data/* ./build/data/
+    - zip files build
+    - ls -la build
+#  only:
+#    - tags
+  artifacts:
+    name: "graph-exploring-tool-%CI_TAG.zip" # % because of windows https://docs.gitlab.com/ee/ci/jobs/job_artifacts.html#with-a-windows-runner-or-shell-executor
+    paths:
+      - ./buildgraph-exploring-tool.zip

+ 1 - 1
README.rst

@@ -53,7 +53,7 @@ Interface
 
 .. |ui_annotated_image| image:: docs/ui_annotated.png
    :alt: Screenshot including the prefix panel of the user interface
-   :width: 48%
+   :width: 100%
 
 The Graph Exploring Tool (or GET) is a graphical application which allows you to explore the knowledge graph using SPARQL queries.
 We provide templates which allow for quick traversal of compliant knowledge graphs.

+ 11 - 10
requirements.txt

@@ -5,18 +5,19 @@ dacite        ~= 1.8.0
 rdflib        ~= 6.3.2
 sparqlwrapper ~= 2.0.0
 # Test
-pytest ~= 7.2.2
+pytest ~= 7.3.1
 # Doc
-sphinx ~= 6.1.3
+sphinx ~= 7.0.0
 # Dev
-tox      ~= 4.4.8
-pip      ~= 23.0.1
-flit     ~= 3.8.0
-twine    ~= 4.0.2
-invoke   ~= 2.0.0
-jinja2   ~= 3.1.2
-flake8   ~= 6.0.0
-coverage ~= 7.2.2
+tox         ~= 4.5.1
+pip         ~= 23.1.2
+flit        ~= 3.8.0
+twine       ~= 4.0.2
+invoke      ~= 2.1.1
+jinja2      ~= 3.1.2
+flake8      ~= 6.0.0
+coverage    ~= 7.2.5
+pyinstaller ~= 5.10.1
 # pylode        ~= 3.0.4
 # owlready2     ~= 0.40
 # graphviz      ~= 0.20.1