From 59a3b87d3866d3e54a1e29e2ae5a7fdd94424dc9 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 18 Apr 2024 16:38:41 -0400 Subject: [PATCH] Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml. --- pyproject.toml | 62 +++++++++++++++++++++++++++++++++++++++++++++++++- setup.cfg | 57 ---------------------------------------------- 2 files changed, 61 insertions(+), 58 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index a853c57..b6ed655 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,65 @@ [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.home" +authors = [ + { name = "Jason R. Coombs", email = "jaraco@jaraco.com" }, +] +description = "Some functions supporting the devices in jaraco's home" +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.9" +dependencies = [ + "requests", + "lxml>=4.2.6", + "pymongo", + "jaraco.functools", + "jaraco.mongodb", + "dnspython", + "keyring", + "jaraco.collections", + "splinter[selenium]", + "autocommand", + "python-dateutil", + "victor-smart-kill", +] +dynamic = ["version"] + +[project.urls] +Homepage = "https://github.com/jaraco/jaraco.home" + +[project.optional-dependencies] +testing = [ + # upstream + "pytest >= 6, != 8.1.1", + "pytest-checkdocs >= 2.4", + "pytest-cov", + "pytest-mypy", + "pytest-enabler >= 2.2", + "pytest-ruff >= 0.2.1", + + # local + "types-requests", + "mockproc", + "types-python-dateutil", +] +docs = [ + # upstream + "sphinx >= 3.5", + "jaraco.packaging >= 9.3", + "rst.linker >= 1.9", + "furo", + "sphinx-lint", + + # local +] + [tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index af6ea4a..0000000 --- a/setup.cfg +++ /dev/null @@ -1,57 +0,0 @@ -[metadata] -name = jaraco.home -author = Jason R. Coombs -author_email = jaraco@jaraco.com -description = Some functions supporting the devices in jaraco's home -long_description = file:README.rst -url = https://github.com/jaraco/jaraco.home -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.9 -install_requires = - requests - lxml>=4.2.6 - pymongo - jaraco.functools - jaraco.mongodb - dnspython - keyring - jaraco.collections - splinter[selenium] - autocommand - python-dateutil - victor-smart-kill - -[options.extras_require] -testing = - # upstream - pytest >= 6, != 8.1.1 - pytest-checkdocs >= 2.4 - pytest-cov - pytest-mypy - pytest-enabler >= 2.2 - pytest-ruff >= 0.2.1 - - # local - types-requests - mockproc - types-python-dateutil - -docs = - # upstream - sphinx >= 3.5 - jaraco.packaging >= 9.3 - rst.linker >= 1.9 - furo - sphinx-lint - - # local - -[options.entry_points]