Skip to content

Commit 51bab46

Browse files
authored
Merge pull request #210 from ymyzk/pyproject-toml
Migrate package metadata into pyproject.toml
2 parents e931d69 + 0ee7988 commit 51bab46

File tree

2 files changed

+59
-72
lines changed

2 files changed

+59
-72
lines changed

pyproject.toml

+59
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,65 @@ requires = [
99
]
1010
build-backend = 'setuptools.build_meta'
1111

12+
[project]
13+
name = "tox-gh-actions"
14+
description = "Seamless integration of tox into GitHub Actions"
15+
readme = "README.md"
16+
requires-python = ">=3.7"
17+
license = {text = "MIT"}
18+
authors = [
19+
{name = "Yusuke Miyazaki", email = "miyazaki.dev@gmail.com"},
20+
]
21+
maintainers = [
22+
{name = "Yusuke Miyazaki", email = "miyazaki.dev@gmail.com"},
23+
]
24+
keywords = ["tox", "github", "github-actions", "ci", "testing"]
25+
classifiers = [
26+
"Development Status :: 5 - Production/Stable",
27+
"Framework :: tox",
28+
"Intended Audience :: Developers",
29+
"License :: OSI Approved :: MIT License",
30+
"Operating System :: OS Independent",
31+
"Programming Language :: Python :: 3",
32+
"Programming Language :: Python :: 3 :: Only",
33+
"Programming Language :: Python :: 3.7",
34+
"Programming Language :: Python :: 3.8",
35+
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.10",
37+
"Programming Language :: Python :: 3.11",
38+
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3.13",
40+
"Programming Language :: Python :: Implementation :: CPython",
41+
"Programming Language :: Python :: Implementation :: PyPy",
42+
"Topic :: Software Development :: Libraries",
43+
"Topic :: Software Development :: Testing",
44+
"Topic :: Utilities",
45+
"Typing :: Typed",
46+
]
47+
dependencies = [
48+
"tox >=4, <5",
49+
]
50+
dynamic = ["version"]
51+
52+
[project.urls]
53+
Homepage = "https://github.com/ymyzk/tox-gh-actions"
54+
Issue = "https://github.com/ymyzk/tox-gh-actions/issues"
55+
Sponsor = "https://github.com/sponsors/ymyzk"
56+
57+
[project.entry-points.tox]
58+
tox_gh_actions = "tox_gh_actions.plugin"
59+
60+
[project.optional-dependencies]
61+
testing = [
62+
"devpi-process",
63+
"mypy; platform_python_implementation=='CPython'",
64+
"pre-commit",
65+
"pytest >=7",
66+
"pytest-cov >=4",
67+
"pytest-mock >=3",
68+
"pytest-randomly >=3",
69+
]
70+
1271
[tool.coverage.paths]
1372
# For combining source file paths correctly
1473
source = [

setup.cfg

-72
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,3 @@
1-
[metadata]
2-
name = tox-gh-actions
3-
description = Seamless integration of tox into GitHub Actions
4-
long_description = file: README.md
5-
long_description_content_type = text/markdown
6-
keywords = virtual, environments, isolated, testing
7-
maintainer = Yusuke Miyazaki
8-
maintainer_email = miyazaki.dev@gmail.com
9-
author = Yusuke Miyazaki
10-
author_email = miyazaki.dev@gmail.com
11-
url = https://github.com/ymyzk/tox-gh-actions
12-
project_urls =
13-
Source=https://github.com/ymyzk/tox-gh-actions
14-
Tracker=https://github.com/ymyzk/tox-gh-actions/issues
15-
platforms = any
16-
license = MIT
17-
license_file = LICENSE
18-
classifiers =
19-
Development Status :: 5 - Production/Stable
20-
Framework :: tox
21-
Intended Audience :: Developers
22-
License :: OSI Approved :: MIT License
23-
Operating System :: OS Independent
24-
Programming Language :: Python :: 3
25-
Programming Language :: Python :: 3 :: Only
26-
Programming Language :: Python :: 3.7
27-
Programming Language :: Python :: 3.8
28-
Programming Language :: Python :: 3.9
29-
Programming Language :: Python :: 3.10
30-
Programming Language :: Python :: 3.11
31-
Programming Language :: Python :: 3.12
32-
Programming Language :: Python :: 3.13
33-
Programming Language :: Python :: Implementation :: CPython
34-
Programming Language :: Python :: Implementation :: PyPy
35-
Topic :: Software Development :: Testing
36-
Topic :: Software Development :: Libraries
37-
Topic :: Utilities
38-
Typing :: Typed
39-
40-
[options]
41-
packages = find:
42-
package_dir =
43-
=src
44-
zip_safe = True
45-
python_requires = >=3.7
46-
install_requires =
47-
tox >= 4, <5
48-
49-
[options.packages.find]
50-
where = src
51-
52-
[options.entry_points]
53-
tox =
54-
tox_gh_actions=tox_gh_actions.plugin
55-
56-
[options.extras_require]
57-
testing =
58-
devpi-process
59-
mypy; platform_python_implementation=='CPython'
60-
pre-commit
61-
pytest >=7
62-
pytest-cov >=4
63-
pytest-mock >=3
64-
pytest-randomly >=3
65-
66-
[options.package_data]
67-
tox_gh_actions =
68-
py.typed
69-
70-
[bdist_wheel]
71-
universal = 1
72-
731
[tox:tox]
742
minversion = 4.0
753
isolated_build = true

0 commit comments

Comments
 (0)