From 34561d4e4f84339c2b8fd225759a7da6a459b7ab 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:43:28 +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 + .../includes/setuptools/install_requires | 1 - pyproject.toml | 20 ++++++++++++++ setup.cfg | 27 ------------------- 4 files changed, 21 insertions(+), 28 deletions(-) create mode 100644 .cookiecutter/includes/pyproject.toml/dependencies 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..c714bd6 --- /dev/null +++ b/.cookiecutter/includes/pyproject.toml/dependencies @@ -0,0 +1 @@ +"pyramid", diff --git a/.cookiecutter/includes/setuptools/install_requires b/.cookiecutter/includes/setuptools/install_requires deleted file mode 100644 index d94f7c9..0000000 --- a/.cookiecutter/includes/setuptools/install_requires +++ /dev/null @@ -1 +0,0 @@ -pyramid diff --git a/pyproject.toml b/pyproject.toml index 9d3a7f0..cfa546e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,26 @@ requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" +[project] +dynamic = ["version"] +name = "h-assets" +description = "Pyramid views for serving collections of compiled static assets (eg. bundles of JavaScript and CSS)." +readme = "README.md" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", + "Intended Audience :: Developers", +] +requires-python = ">=3.8" +dependencies = [ + "pyramid", +] + +[project.urls] +Repository = "https://github.com/hypothesis/h-assets" +Issues = "https://github.com/hypothesis/h-assets/issues" +Changelog = "https://github.com/hypothesis/h-assets/releases" + [tool.setuptools_scm] [tool.pytest.ini_options] diff --git a/setup.cfg b/setup.cfg index 3b77437..8f1a165 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,30 +1,3 @@ -[metadata] -name = h-assets -description = Pyramid views for serving collections of compiled static assets (eg. bundles of JavaScript and CSS). -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/hypothesis/h-assets -project_urls = - Bug Tracker = https://github.com/hypothesis/h-assets/issues - Changelog = https://github.com/hypothesis/h-assets/releases -classifiers = - Programming Language :: Python :: 3 - License :: OSI Approved :: BSD License - Intended Audience :: Developers - -[options] -package_dir = - = src -packages = find: -python_requires = >=3.8 -install_requires = - pyramid - -[options.packages.find] -where = src - -[options.entry_points] - [pycodestyle] ignore = # Disable pycodestyle errors and warnings that we don't care about because