From 1b6a891208c98b295a96391a8e08664ee54dd007 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 3 Feb 2026 17:46:30 -0500 Subject: [PATCH] build: Transition completely to pyproject.toml --- documentation_requirements.txt | 1 - pyproject.toml | 26 +++++++++++++++++++++++++- setup.py | 32 +------------------------------- 3 files changed, 26 insertions(+), 33 deletions(-) delete mode 100644 documentation_requirements.txt diff --git a/documentation_requirements.txt b/documentation_requirements.txt deleted file mode 100644 index 3c7a494..0000000 --- a/documentation_requirements.txt +++ /dev/null @@ -1 +0,0 @@ -udsoncan \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d984fdc..bfbf7a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,27 @@ [build-system] requires = ["setuptools >= 40.6.0", "wheel"] -build-backend = "setuptools.build_meta" \ No newline at end of file +build-backend = "setuptools.build_meta" + +[project] +name = "doipclient" +version = "1.1.8" +description = "A Diagnostic over IP (DoIP) client implementing ISO-13400-2." +readme = "README.rst" +authors = [{ name = "Jacob Schaer"}] +license = "MIT" +license-files = [ "LICENSE" ] +keywords = [ "uds", "14229", "iso-14229", "diagnostic", "automotive", "13400", "iso-13400", "doip", ] +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator", +] +requires-python = ">= 3.6" +dependencies = [ + "udsoncan" +] + + +[project.urls] +Homepage = "https://github.com/jacobschaer/python-doipclient" +Documentation = "https://python-doipclient.readthedocs.io/en/latest/" diff --git a/setup.py b/setup.py index 7b9afe2..5ec1dfb 100644 --- a/setup.py +++ b/setup.py @@ -2,34 +2,4 @@ import setuptools -with open("README.rst", "r", encoding="utf-8") as fh: - long_description = fh.read() - -setuptools.setup( - name="doipclient", - version="1.1.8", - description="A Diagnostic over IP (DoIP) client implementing ISO-13400-2.", - long_description=long_description, - long_description_content_type="text/x-rst", - author="Jacob Schaer", - url="https://github.com/jacobschaer/python-doipclient", - packages=["doipclient"], - package_data={"doipclient": ["py.typed"]}, - keywords=[ - "uds", - "14229", - "iso-14229", - "diagnostic", - "automotive", - "13400", - "iso-13400", - "doip", - ], - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator", - ], - python_requires=">=3.6", -) +setuptools.setup()