From 5e0463b09bfe79546938909e13b73bbca74d3190 Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Wed, 18 Feb 2026 10:04:09 +0100 Subject: [PATCH] chore: Update `setup.py` and README with project URLs Added `Documentation` and `Source` links to `setup.py` under `project_urls`. Updated README with a link to the official documentation. Signed-off-by: Sven Sager --- README.md | 6 ++++++ setup.py | 15 +++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 72a08d3..59649a7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # RevPiModIO +### Documentation: + +For a complete reference of all classes, methods, and functions, please see the +official documentation: +[https://revpimodio2.readthedocs.io/](https://revpimodio2.readthedocs.io/) + ### Python3 programming for RevolutionPi of KUNBUS GmbH. The module provides all devices and IOs from the piCtory configuration in diff --git a/setup.py b/setup.py index 89291fe..b189bdb 100644 --- a/setup.py +++ b/setup.py @@ -16,11 +16,9 @@ with open("README.md") as fh: setup( name="revpimodio2", version=__version__, - packages=find_namespace_packages("src"), - package_dir={'': 'src'}, + package_dir={"": "src"}, include_package_data=True, - python_requires=">= 3.2", install_requires=[], extras_require={ @@ -30,10 +28,12 @@ setup( ], }, entry_points={}, - platforms=["all"], - url="https://revpimodio.org/", + project_urls={ + "Documentation": "https://revpimodio2.readthedocs.io/", + "Source": "https://github.com/naruxde/revpimodio2", + }, license="LGPLv2", author="Sven Sager", author_email="akira@narux.de", @@ -47,12 +47,11 @@ setup( "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", - "License :: OSI Approved :: " - "GNU Lesser General Public License v2 (LGPLv2)", + "License :: OSI Approved :: " "GNU Lesser General Public License v2 (LGPLv2)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3", - "Topic :: Software Development :: Libraries :: Python Modules" + "Topic :: Software Development :: Libraries :: Python Modules", ], )