From 3f6be7868556fd8d887e2a8a5e9635570f7995a4 Mon Sep 17 00:00:00 2001 From: saces Date: Sat, 4 Apr 2026 12:12:56 +0200 Subject: [PATCH] update & rename smal => mxsmal --- .github/workflows/build.yaml | 2 +- smal/.gitignore | 1 + smal/pyproject.toml | 10 +++++----- smal/setup.py | 9 +++++++++ 4 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 smal/setup.py diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9100332..dec3305 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -205,7 +205,7 @@ jobs: environment: name: pypi #url: https://test.pypi.org/p/smal - url: ${{ github.ref == 'refs/heads/main' && 'https://pypi.org/p/smal' || 'https://test.pypi.org/p/smal' }} + url: ${{ github.ref == 'refs/heads/main' && 'https://pypi.org/p/mxsmal' || 'https://test.pypi.org/p/mxsmal' }} permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: diff --git a/smal/.gitignore b/smal/.gitignore index d7eadc0..a299afe 100644 --- a/smal/.gitignore +++ b/smal/.gitignore @@ -1,3 +1,4 @@ __pycache__ *.egg-info build +.eggs/ diff --git a/smal/pyproject.toml b/smal/pyproject.toml index bda16cb..9de4382 100644 --- a/smal/pyproject.toml +++ b/smal/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "calver"] build-backend = "setuptools.build_meta" [project] -name = "smal" -version = "0.0.1" +name = "mxsmal" +dynamic = ["version"] requires-python = ">=3.10" description = "smal - simple matrix application library" authors = [{ name = "saces" }] @@ -19,12 +19,12 @@ dependencies = [ "asyncio", "cffi>=2.0.0", "click", - "pygomx>=0.0.2" + "pygomx>=2026.4.4.9.9", ] [tool.setuptools.package-dir] "pymxutils" = "src/pymxutils" -"smal" = "src/smal" +"mxsmal" = "src/smal" "smbl" = "src/smbl" "demobot" = "src/demobot" diff --git a/smal/setup.py b/smal/setup.py new file mode 100644 index 0000000..ff25793 --- /dev/null +++ b/smal/setup.py @@ -0,0 +1,9 @@ +# Copyright (C) 2026 saces@c-base.org +# SPDX-License-Identifier: AGPL-3.0-only +from setuptools import setup + + +setup( + use_calver="%Y.%m.%d.%H.%M", + setup_requires=["calver"], +)