2 Commits

Author SHA1 Message Date
Marco Dalla Tiezza
8b36d8f818 Remove unnecessary --no-deps flag from pip install command and clean up pyproject.toml by removing build-system section 2025-06-23 18:17:49 +02:00
Marco Dalla Tiezza
1e8c07680c Added pyproject.toml 2025-06-23 18:03:42 +02:00
4 changed files with 66 additions and 1 deletions

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.12

View File

@@ -0,0 +1,51 @@
app-id: com.aresvalley.Artemis
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
base: io.qt.PySide.BaseApp
base-version: '6.8'
command: artemis
finish-args:
- --share=network
- --socket=x11
- --socket=wayland
- --device=dri
- --filesystem=home
- --filesystem=xdg-documents
build-options:
env:
- BASEAPP_REMOVE_WEBENGINE=1
- BASEAPP_DISABLE_NUMPY=1
cleanup-commands:
- /app/cleanup-BaseApp.sh
modules:
- name: artemis
buildsystem: simple
build-commands:
- pip3 install . --prefix=/app
sources:
- type: git
url: https://github.com/AresValley/Artemis.git
branch: flatpak # o il tag/versione desiderata
- name: requests
buildsystem: simple
build-commands:
- pip3 install requests==2.32.3 --no-deps --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl
sha256: 70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
- name: packaging
buildsystem: simple
build-commands:
- pip3 install packaging==24.1 --no-deps --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl
sha256: 5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124

13
pyproject.toml Normal file
View File

@@ -0,0 +1,13 @@
[project]
name = "artemis"
version = "4.1.0"
description = "Artemis GUI App in PySide6"
dependencies = [
"PySide6==6.8.0.1",
"requests==2.32.3",
"packaging==24.1"
]
requires-python = ">=3.12"
[project.scripts]
artemis = "app:main"

View File

@@ -1,3 +1,3 @@
PySide6==6.8.0.1
requests==2.32.4
requests==2.32.3
packaging==24.1