diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 36b18191..40acab63 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -1,11 +1,8 @@ name: Build and Publish on: push: - branches: - - master - pull_request: - branches: - - master + tags: + - '*' jobs: build: diff --git a/common/pyproject.toml b/common/pyproject.toml index 22916052..a61a7c41 100644 --- a/common/pyproject.toml +++ b/common/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "aaredaqlib" -version = "0.1.0" +version = "0.2.0" description = "Libraries shared between AareDAQ and AareGUI" readme = "README.md" requires-python = ">=3.11" diff --git a/daq/pyproject.toml b/daq/pyproject.toml index ed912601..a5cc5da6 100644 --- a/daq/pyproject.toml +++ b/daq/pyproject.toml @@ -18,6 +18,7 @@ dependencies = [ "python_multipart==0.0.20", "websocket-client", "sseclient-py>=1.8.0", + "aaredaqlib==0.2.0" ] [lint] diff --git a/gui/pyproject.toml b/gui/pyproject.toml index 4703aaab..0cb7e9d4 100644 --- a/gui/pyproject.toml +++ b/gui/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "aaregui" -version = "0.1.0" +version = "0.2.0" description = "Beamline control GUI" readme = "README.md" requires-python = ">=3.11" @@ -9,7 +9,7 @@ dependencies = [ "pyzmq==26.4.0", "opencv-python-headless==4.11.0.86", "PySide6==6.9.0", - "aaredaqlib==0.1.0" + "aaredaqlib==0.2.0" ] [lint] @@ -18,3 +18,11 @@ ignore = ["F401", "F541", "W503", "W504"] [build-system] requires = ["setuptools>=75.6.0"] build-backend = "setuptools.build_meta" + +[tool.uv.sources] +aaredb = { index = "psi"} + +[[tool.uv.index]] +name = "psi" +url = "https://gitea.psi.ch/api/packages/mx/pypi/simple" +