From e02d670f5756bf9476e6077ffe78aa746f086015 Mon Sep 17 00:00:00 2001 From: Nico Jehle Date: Fri, 16 Aug 2024 11:52:20 +0000 Subject: [PATCH] ndcli: add pyproject.toml prepare for uploading to PyPI --- ndcli/pyproject.toml | 34 ++++++++++++++++++++++++++++++++++ ndcli/setup.py | 10 ---------- 2 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 ndcli/pyproject.toml delete mode 100644 ndcli/setup.py diff --git a/ndcli/pyproject.toml b/ndcli/pyproject.toml new file mode 100644 index 00000000..63a414fb --- /dev/null +++ b/ndcli/pyproject.toml @@ -0,0 +1,34 @@ +[project] +name = "dimclient-cli" +version = "5.0.2" +maintainers = [ + { name = "zerimond" }, +] +description = "DNS and IP management Python CLI client" +readme = "README.md" +dependencies = [ + "dimclient", + "python-dateutil>=1.4.1", + "dnspython>=1.12.0,!=2.2.0", +] +requires-python = ">=3.6" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: System Administrators", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] + +[project.optional-dependencies] +docs = [ + "Sphinx~=4.4", + "hypothesis~=5.6.0", +] + +[project.scripts] +ndcli = "dimcli:main" + +[project.urls] +Homepage = "https://github.com/ionos-cloud/dim" +Issues = "https://github.com/ionos-cloud/dim/issues" diff --git a/ndcli/setup.py b/ndcli/setup.py deleted file mode 100644 index a3a4cfd9..00000000 --- a/ndcli/setup.py +++ /dev/null @@ -1,10 +0,0 @@ -from setuptools import setup -from dimcli import version - -setup(name='ndcli', - version=version.VERSION, - scripts=['ndcli'], - install_requires=['dimclient>=0.4.1', - 'python-dateutil', - 'dnspython'], - packages=['dimcli'])