Compare commits

..

4 commits

Author SHA1 Message Date
Jörg Behrmann
61c801498f
Merge pull request #175 from keszybz/python3.14-and-license-file
Clean up Makefile and add license file declaration
2026-06-19 12:49:19 +02:00
Zbigniew Jędrzejewski-Szmek
6c08dd474c pyproject: add support for Python 3.14 2026-06-19 12:48:38 +02:00
Zbigniew Jędrzejewski-Szmek
e9bf5e5e0e pyproject: declare the license file
This helps to get it installed.
2026-06-19 11:35:14 +02:00
Zbigniew Jędrzejewski-Szmek
66a5c1951e Makefile: update upload target
This might now work because pypi changes its rules, but at
least update to modern names of the commands for now.
2026-06-19 08:54:27 +02:00
3 changed files with 11 additions and 5 deletions

View file

@ -17,17 +17,22 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-22.04", "ubuntu-24.04"]
os: ["ubuntu-22.04", "ubuntu-24.04", "ubuntu-26.04"]
python: [
"3.9",
"3.10",
"3.11",
"3.12",
"3.13",
"3.14",
]
exclude:
- os: "ubuntu-22.04"
python: "3.13"
- os: "ubuntu-22.04"
python: "3.14"
- os: "ubuntu-26.04"
python: "3.9"
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ matrix.python }}-${{ matrix.os }}-${{ github.ref }}

View file

@ -36,8 +36,8 @@ www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/p
doc-sync:
rsync -rlv --delete --omit-dir-times $(BUILD_DIR)/html/ $(www_target)/
upload: dist/systemd-python-$(VERSION).tar.gz dist/systemd-python-$(VERSION).tar.gz.asc
twine-3 upload $+
upload: dist/systemd_python-$(VERSION).tar.gz
twine upload $+
TAGS: $(shell git ls-files systemd/*.[ch])
$(ETAGS) $+

View file

@ -5,7 +5,8 @@ name = "systemd-python"
dynamic = ["version"]
description = "Python interface for libsystemd"
readme = "README.md"
license = { text = "LGPL-2.1-or-later" }
license = "LGPL-2.1-or-later"
license-files = [ "LICENSE.txt" ]
authors = [{ email = "david@davidstrauss.net" }]
maintainers = [
{ name = "systemd developers", email = "systemd-devel@lists.freedesktop.org" },
@ -13,7 +14,6 @@ maintainers = [
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: C",
"Programming Language :: Python :: 3",
@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging",
"Topic :: System :: Systems Administration",