Commit Graph

10 Commits

Author SHA1 Message Date
Marian Koop
f88231c7c1 ci: Add Python 3.13 support 2026-08-20 02:03:09 +02:00
Marian Koop
7ba8fbf584 python: Remove obsolete license classifiers and update license field
Removed deprecated 'license classifiers' and updated license field with
valid SPDX license expression to to comply with Python packaging standards
(PEP 639).
2026-03-24 11:37:20 +01:00
Martin Braun
43b433fad3 python: Fix license identifiers in Python projects
The license in setup.py and pyproject.toml was incorrect (GPLv3 instead
of GPLv3+, which is the license for most of our software). Also, the
license identifier did not use a SPDX license identification string.
2025-12-04 15:10:41 +01:00
Clemens Felber
ea5850393a host: added python 3.13 build support under windows
Changed Python dependency definition in Poetry toml file to ">=3.10,<3.14"
to allow Python 3.13 source builds under Windows OS.
2025-08-05 19:21:52 +02:00
Clemens Felber
58e47c979e host: fixed python version for wheel build to >=3.10 and <=3.12 (win) 2025-01-22 11:13:57 +01:00
Clemens Felber
55be9bb39b host: add readme and license file to poetry python builds
(cherry picked from commit 208dd3a50169f28578441894bc95384748a85c77)
2025-01-21 08:08:28 +01:00
Lars Amsel
c6274925ba host: add patch version number to poetry version
Add the patch version number to poetry version. Because UHD uses
the patch number for adding branch information on development branches
we need to save the patch number in some different variable for later
access.
2025-01-10 15:03:45 +01:00
Lars Amsel
3ffc7a6281 host: Rename build.py to uhd_build.py
Depending on the build folder poetry build might use build.py
instead of the intended build package which leads to an import error
for "BuildBackendException". To prevent confusion rename the script
to something UHD specific.
2025-01-10 15:03:45 +01:00
Lars Amsel
c36e40a5fc cmake: Set classifiers in pyproject.toml
This sets classifiers in pyproject.toml. Most of them
are static except for the development status. The status
is set to 2 (pre alpha) as a default. Only if UHD_RELEASE_MODE
is set it changes to 4 (beta) if we are on a release canditate tag
or 5 (release) if we are on release tag. If we aren't on any tag
or the tag does not meet the correct formatting we stay on 2
and a warning is issued.
2024-12-13 15:53:09 +01:00
Lars Amsel
22396d4666 host: python: Add pyproject.toml to enable poetry builds
This adds a pyproject.toml to generate Python wheels using poetry.
The toml file is generated by cmake to add build dependend information to the
file. On Windows the build process invokes poetry using the configured
Python executable. The existing distribution way (copy python data
to site-packages folder of UHD installation) is not changed yet.
2024-12-10 13:02:52 +01:00