diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4d0a8ed --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,36 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "awsdyndns" +version = "0.2.0" +authors = [ + { name="Walter Oggioni", email="oggioni.walter@gmail.com" }, +] +description = "Simple utility to dynamically update Route 53 DNS on AWS" +readme = "README.md" +requires-python = ">=3.11" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] +dependencies = [] + +[project.urls] +"Homepage" = "https://woggioni.net/cgit/awsdyndns.git/" +"Bug Tracker" = "https://woggioni.net/cgit/awsdyndns.git/" + +[project.scripts] +awsdyndns = "awsdyndns.wrapper:run" + +[tool.mypy] +python_version = "3.11" +disallow_untyped_defs = true +show_error_codes = true +no_implicit_optional = true +warn_return_any = true +warn_unused_ignores = true +exclude = ["scripts", "docs", "test"] +strict = true \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..1078eca --- /dev/null +++ b/requirements.txt @@ -0,0 +1,11 @@ +argcomplete==3.2.1 +build==1.0.3 +click==8.1.7 +mypy==1.7.1 +mypy-extensions==1.0.0 +packaging==23.2 +pipx==1.3.3 +platformdirs==4.1.0 +pyproject_hooks==1.0.0 +typing_extensions==4.9.0 +userpath==1.9.1 diff --git a/setup.py b/setup.py deleted file mode 100644 index 1a4581d..0000000 --- a/setup.py +++ /dev/null @@ -1,38 +0,0 @@ -from os.path import join, dirname -from setuptools import setup, find_packages - - -def read(fname): - return open(join(dirname(__file__), fname)).read() - - -config = { - 'name': "awsdyndns", - 'version': "0.1", - 'author': "Walter Oggioni", - 'author_email': "oggioni.walter@gmail.com", - 'description': ("Simple utility to dynamically update Route 53 DNS on AWS"), - 'long_description': '', - 'license': "MIT", - 'keywords': "build", - 'url': "https://github.com/oggio88/awsdyndns", - 'packages': ['awsdyndns'], - 'include_package_data': True, - 'classifiers': [ - 'Development Status :: 3 - Alpha', - 'Topic :: Utilities', - 'License :: OSI Approved :: MIT License', - 'Intended Audience :: System Administrators', - 'Intended Audience :: Developers', - 'Environment :: Console', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3', - 'Topic :: Utilities' - ], - "entry_points": { - 'console_scripts': [ - 'awsdyndns=awsdyndns.wrapper:run', - ], - } -} -setup(**config)