From e710a4d597b7a3f4e1bea688a290f2ed769d73b5 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 18 Apr 2024 16:37:53 -0400 Subject: [PATCH] Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml. --- pyproject.toml | 71 +++++++++++++++++++++++++++++++++++++++++++++++++- setup.cfg | 64 --------------------------------------------- 2 files changed, 70 insertions(+), 65 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index a853c57..e0f70fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,74 @@ [build-system] -requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"] +requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"] build-backend = "setuptools.build_meta" +[project] +name = "jaraco.abode" +authors = [ + { name = "Wil Schrader", email = "wilrader@gmail.com" }, +] +maintainers = [ + { name = "Jason R. Coombs", email = "jaraco@jaraco.com" }, +] +description = "A library interfacing to the Abode home security system" +readme = "README.rst" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", +] +requires-python = ">=3.8" +dependencies = [ + "requests >= 2.12.4", + "lomond >= 0.3.3", + "colorlog >= 3.0.1", + "keyring", + "requests_toolbelt", + "jaraco.collections", + "jaraco.context", + "jaraco.classes", + "jaraco.net >= 9", + "more_itertools", + "importlib_resources >= 5.10", + "bx_py_utils", + "platformdirs", + "jaraco.itertools", + "jaraco.functools >= 3.6", +] +dynamic = ["version"] + +[project.urls] +Homepage = "https://github.com/jaraco/jaraco.abode" + +[project.optional-dependencies] +testing = [ + # upstream + "pytest >= 6", + "pytest-checkdocs >= 2.4", + "pytest-cov", + "pytest-mypy", + "pytest-enabler >= 2.2", + "pytest-ruff >= 0.2.1", + + # local + "requests_mock", + "types-requests", + "jaraco.collections >= 4.1", +] +docs = [ + # upstream + "sphinx >= 3.5", + "jaraco.packaging >= 9.3", + "rst.linker >= 1.9", + "furo", + "sphinx-lint", + + # local +] + +[project.scripts] +abode = "jaraco.abode.cli:main" + [tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 123e98d..0000000 --- a/setup.cfg +++ /dev/null @@ -1,64 +0,0 @@ -[metadata] -name = jaraco.abode -author = Wil Schrader -author_email = wilrader@gmail.com -maintainer = Jason R. Coombs -maintainer_email = jaraco@jaraco.com -description = A library interfacing to the Abode home security system -long_description = file:README.rst -url = https://github.com/jaraco/jaraco.abode -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - -[options] -include_package_data = true -python_requires = >=3.8 -install_requires = - requests >= 2.12.4 - lomond >= 0.3.3 - colorlog >= 3.0.1 - keyring - requests_toolbelt - jaraco.collections - jaraco.context - jaraco.classes - jaraco.net >= 9 - more_itertools - importlib_resources >= 5.10 - bx_py_utils - platformdirs - jaraco.itertools - jaraco.functools >= 3.6 - -[options.extras_require] -testing = - # upstream - pytest >= 6 - pytest-checkdocs >= 2.4 - pytest-cov - pytest-mypy - pytest-enabler >= 2.2 - pytest-ruff >= 0.2.1 - - # local - requests_mock - types-requests - jaraco.collections >= 4.1 - -docs = - # upstream - sphinx >= 3.5 - jaraco.packaging >= 9.3 - rst.linker >= 1.9 - furo - sphinx-lint - - # local - -[options.entry_points] -console_scripts = - abode = jaraco.abode.cli:main