]> sigrok.org Git - libsigrok.git/commit
bindings/python: Use implicit namespaces
authorMarc Schink <redacted>
Thu, 12 Sep 2024 12:18:20 +0000 (14:18 +0200)
committerSoeren Apel <redacted>
Mon, 30 Sep 2024 21:43:14 +0000 (23:43 +0200)
commit6669e08e02cc0cf65d292275cf40c822ea3d0048
treecbe71c0dbfa67d543c9d4d095b14ec68a0f2b351
parent84a7d088f35030c97e2c3dcb07ec560ff747e954
bindings/python: Use implicit namespaces

The use of 'namespace_packages' is deprecated [1] and for Python >= 3.3,
implicit/native namespaces should be used. There are no incompatibilities
as we require Python >= 3.8. More details can be found in [2] and [3].

[1] https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
[2] https://packaging.python.org/en/latest/guides/packaging-namespace-packages/
[3] https://peps.python.org/pep-0420/
bindings/python/setup.py
bindings/python/sigrok/__init__.py