From 267fd3c445de69807b3d92d6040e130e758aac73 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:40:15 +0000 Subject: [PATCH] Apply updates from cookiecutter This automated commit applies the latest updates from our cookiecutters [1] to this repo. [1]: https://github.com/hypothesis/cookiecutters --- .../includes/pyproject.toml/dependencies | 1 + .cookiecutter/includes/pyproject.toml/tail | 2 ++ .../includes/setuptools/entry_points | 2 -- .../includes/setuptools/install_requires | 1 - pyproject.toml | 23 +++++++++++++++ setup.cfg | 29 ------------------- 6 files changed, 26 insertions(+), 32 deletions(-) create mode 100644 .cookiecutter/includes/pyproject.toml/dependencies create mode 100644 .cookiecutter/includes/pyproject.toml/tail delete mode 100644 .cookiecutter/includes/setuptools/entry_points delete mode 100644 .cookiecutter/includes/setuptools/install_requires diff --git a/.cookiecutter/includes/pyproject.toml/dependencies b/.cookiecutter/includes/pyproject.toml/dependencies new file mode 100644 index 0000000..a08bef6 --- /dev/null +++ b/.cookiecutter/includes/pyproject.toml/dependencies @@ -0,0 +1 @@ +"python-dotenv", diff --git a/.cookiecutter/includes/pyproject.toml/tail b/.cookiecutter/includes/pyproject.toml/tail new file mode 100644 index 0000000..baefe20 --- /dev/null +++ b/.cookiecutter/includes/pyproject.toml/tail @@ -0,0 +1,2 @@ +[project.entry-points.tox] +tox-envfile = "tox_envfile" diff --git a/.cookiecutter/includes/setuptools/entry_points b/.cookiecutter/includes/setuptools/entry_points deleted file mode 100644 index bf9339b..0000000 --- a/.cookiecutter/includes/setuptools/entry_points +++ /dev/null @@ -1,2 +0,0 @@ -tox = - tox-envfile = tox_envfile diff --git a/.cookiecutter/includes/setuptools/install_requires b/.cookiecutter/includes/setuptools/install_requires deleted file mode 100644 index 566cccb..0000000 --- a/.cookiecutter/includes/setuptools/install_requires +++ /dev/null @@ -1 +0,0 @@ -python-dotenv diff --git a/pyproject.toml b/pyproject.toml index 5daf3b0..a88b086 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,8 +2,31 @@ requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" +[project] +dynamic = ["version"] +name = "tox-envfile" +description = "Load env files in your tox envs." +readme = "README.md" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", + "Intended Audience :: Developers", +] +requires-python = ">=3.9" +dependencies = [ + "python-dotenv", +] + +[project.urls] +Repository = "https://github.com/hypothesis/tox-envfile" +Issues = "https://github.com/hypothesis/tox-envfile/issues" +Changelog = "https://github.com/hypothesis/tox-envfile/releases" [tool.setuptools_scm] + +[project.entry-points.tox] +tox-envfile = "tox_envfile" + [tool.pytest.ini_options] addopts = "-q" filterwarnings = [ diff --git a/setup.cfg b/setup.cfg index 241c8c4..8f1a165 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,32 +1,3 @@ -[metadata] -name = tox-envfile -description = Load env files in your tox envs. -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/hypothesis/tox-envfile -project_urls = - Bug Tracker = https://github.com/hypothesis/tox-envfile/issues - Changelog = https://github.com/hypothesis/tox-envfile/releases -classifiers = - Programming Language :: Python :: 3 - License :: OSI Approved :: BSD License - Intended Audience :: Developers - -[options] -package_dir = - = src -packages = find: -python_requires = >=3.9 -install_requires = - python-dotenv - -[options.packages.find] -where = src - -[options.entry_points] -tox = - tox-envfile = tox_envfile - [pycodestyle] ignore = # Disable pycodestyle errors and warnings that we don't care about because