From ba9b50b33212de61e266734bc231caf2547f51f4 Mon Sep 17 00:00:00 2001 From: ftnext Date: Sun, 15 Oct 2023 23:46:11 +0900 Subject: [PATCH] [chore] Migrate to pyproject.toml --- pyproject.toml | 35 +++++++++++++++++++++++++++++++++++ setup.cfg | 50 -------------------------------------------------- 2 files changed, 35 insertions(+), 50 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7dab36a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,35 @@ +[project] +name = "sphinx-new-tab-link" +version = "0.2.1" +description = "Open external links in new tabs of the browser in Sphinx HTML documents" +readme = { file = "README.md", content-type = "text/markdown" } +license = { text = "MIT License" } +authors = [{ name = "nikkie", email = "takuyafjp+develop@gmail.com" }] +classifiers = [ + "Development Status :: 3 - Alpha", + "License :: OSI Approved :: MIT License", + "Intended Audience :: Developers", + "Framework :: Sphinx", + "Framework :: Sphinx :: Extension", + "Topic :: Documentation", + "Topic :: Documentation :: Sphinx", + "Topic :: Software Development :: Documentation", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] +dependencies = ["Sphinx"] + +[project.optional-dependencies] +testing = ["pytest", "beautifulsoup4"] +lint = ["flake8", "black", "isort"] +dev = ["wheel", "build", "twine"] + +[project.urls] +Homepage = "https://github.com/ftnext/sphinx-new-tab-link" +Guide = "https://ftnext.github.io/sphinx-new-tab-link/guide.en.html" +"Bug Tracker" = "https://github.com/ftnext/sphinx-new-tab-link/issues" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 944fc4e..0000000 --- a/setup.cfg +++ /dev/null @@ -1,50 +0,0 @@ -[metadata] -name = sphinx-new-tab-link -version = 0.2.1 -url = https://github.com/ftnext/sphinx-new-tab-link -author = nikkie -author_email = takuyafjp+develop@gmail.com -classifiers = - Development Status :: 3 - Alpha - License :: OSI Approved :: MIT License - Intended Audience :: Developers - Framework :: Sphinx - Framework :: Sphinx :: Extension - Topic :: Documentation - Topic :: Documentation :: Sphinx - Topic :: Software Development :: Documentation - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 -license = MIT -description = Open external links in new tabs of the browser in Sphinx HTML documents -long_description = file: README.md -long_description_content_type = text/markdown -project_urls = - Guide = https://ftnext.github.io/sphinx-new-tab-link/guide.en.html - Bug Tracker = https://github.com/ftnext/sphinx-new-tab-link/issues - -[options] -packages = find: -install_requires = - Sphinx - -[options.extras_require] -testing = - pytest - beautifulsoup4 -lint = - flake8 - black - isort -dev = - wheel - build - twine - -[options.packages.find] -exclude = tests