Philipp Hörist pushed to branch port-pyproject at gajim / gajim


Commits:
326c2c67 by Philipp Hörist at 2022-12-30T21:53:22+01:00
ci: Use `build` to build Gajim

- - - - -


2 changed files:

- .gitlab-ci.yml
- pyproject.toml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -15,8 +15,9 @@ test-other:
   stage: test
   script:
     - codespell gajim
-    - python3 setup.py build
-    - appstream-util validate build/data/org.gajim.Gajim.appdata.xml
+    - pip3 install build
+    - python3 -m build -w
+    - appstream-util validate dist/share/metainfo/org.gajim.Gajim.appdata.xml
   interruptible: true
 
 test-pyright:
@@ -68,7 +69,8 @@ build-linux:
   script:
     - apt-get update
     - apt-get install -y python3-nbxmpp-nightly
-    - python3 setup.py sdist
+    - pip3 install build
+    - python3 -m build -s
     - python3 .ci/debian_build.py "$(find dist/gajim-*)" 1
 
   artifacts:


=====================================
pyproject.toml
=====================================
@@ -106,6 +106,7 @@ include = [
     "mac/*",
     "scripts/*",
     "win/*",
+    "pep517build/*",
     "gajim/common/application.py",
     "gajim/common/call_manager.py",
     "gajim/common/cert_store.py",



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/326c2c678e2e0861360b793d0fb5198a3155f263

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/326c2c678e2e0861360b793d0fb5198a3155f263
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to