Skip to content

Commit 9296481

Browse files
committed
Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml.
1 parent 6067fa4 commit 9296481

File tree

2 files changed

+166
-163
lines changed

2 files changed

+166
-163
lines changed

Diff for: pyproject.toml

+166
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,170 @@ requires = []
33
build-backend = "setuptools.build_meta"
44
backend-path = ["."]
55

6+
[project]
7+
name = "setuptools"
8+
version = "69.5.1"
9+
authors = [
10+
{ name = "Python Packaging Authority", email = "[email protected]" },
11+
]
12+
description = "Easily download, build, install, upgrade, and uninstall Python packages"
13+
readme = "README.rst"
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: MIT License",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3 :: Only",
20+
"Topic :: Software Development :: Libraries :: Python Modules",
21+
"Topic :: System :: Archiving :: Packaging",
22+
"Topic :: System :: Systems Administration",
23+
"Topic :: Utilities",
24+
]
25+
keywords = ["CPAN PyPI distutils eggs package management"]
26+
requires-python = ">=3.8"
27+
dependencies = []
28+
29+
[project.urls]
30+
Homepage = "https://github.com/pypa/setuptools"
31+
Documentation = "https://setuptools.pypa.io/"
32+
Changelog = "https://setuptools.pypa.io/en/stable/history.html"
33+
34+
[project.optional-dependencies]
35+
testing = [
36+
# upstream
37+
"pytest >= 6, != 8.1.1",
38+
"pytest-checkdocs >= 2.4",
39+
'pytest-cov; python_implementation != "PyPy"', # coverage seems to make PyPy extremely slow
40+
"pytest-mypy",
41+
"pytest-enabler >= 2.2",
42+
# workaround for pypa/setuptools#3921
43+
'pytest-ruff >= 0.2.1; sys_platform != "cygwin"',
44+
45+
# local
46+
"virtualenv>=13.0.0",
47+
"wheel",
48+
"pip>=19.1", # For proper file:// URLs support.
49+
"packaging>=23.2",
50+
"jaraco.envs>=2.2",
51+
"pytest-xdist>=3", # Dropped dependency on pytest-fork and py
52+
"jaraco.path>=3.2.0",
53+
"build[virtualenv]>=1.0.3",
54+
"filelock>=3.4.0",
55+
"ini2toml[lite]>=0.9",
56+
"tomli-w>=1.0.0",
57+
"pytest-timeout",
58+
'pytest-perf; sys_platform != "cygwin"', # workaround for jaraco/inflect#195, pydantic/pydantic-core#773 (see #3986)
59+
# for tools/finalize.py
60+
'jaraco.develop >= 7.21; python_version >= "3.9" and sys_platform != "cygwin"',
61+
"pytest-home >= 0.5",
62+
"mypy==1.9", # pin mypy version so a new version doesn't suddenly cause the CI to fail
63+
# No Python 3.11 dependencies require tomli, but needed for type-checking since we import it directly
64+
"tomli",
65+
# No Python 3.12 dependencies require importlib_metadata, but needed for type-checking since we import it directly
66+
"importlib_metadata",
67+
]
68+
docs = [
69+
# upstream
70+
"sphinx >= 3.5",
71+
"jaraco.packaging >= 9.3",
72+
"rst.linker >= 1.9",
73+
"furo",
74+
"sphinx-lint",
75+
76+
# tidelift
77+
"jaraco.tidelift >= 1.4",
78+
79+
# local
80+
"pygments-github-lexers==0.0.5",
81+
"sphinx-favicon",
82+
"sphinx-inline-tabs",
83+
"sphinx-reredirects",
84+
"sphinxcontrib-towncrier",
85+
"sphinx-notfound-page >=1,<2",
86+
]
87+
ssl = []
88+
certs = []
89+
90+
[project.entry-points."distutils.commands"]
91+
alias = "setuptools.command.alias:alias"
92+
bdist_egg = "setuptools.command.bdist_egg:bdist_egg"
93+
bdist_rpm = "setuptools.command.bdist_rpm:bdist_rpm"
94+
build = "setuptools.command.build:build"
95+
build_clib = "setuptools.command.build_clib:build_clib"
96+
build_ext = "setuptools.command.build_ext:build_ext"
97+
build_py = "setuptools.command.build_py:build_py"
98+
develop = "setuptools.command.develop:develop"
99+
dist_info = "setuptools.command.dist_info:dist_info"
100+
easy_install = "setuptools.command.easy_install:easy_install"
101+
editable_wheel = "setuptools.command.editable_wheel:editable_wheel"
102+
egg_info = "setuptools.command.egg_info:egg_info"
103+
install = "setuptools.command.install:install"
104+
install_egg_info = "setuptools.command.install_egg_info:install_egg_info"
105+
install_lib = "setuptools.command.install_lib:install_lib"
106+
install_scripts = "setuptools.command.install_scripts:install_scripts"
107+
rotate = "setuptools.command.rotate:rotate"
108+
saveopts = "setuptools.command.saveopts:saveopts"
109+
sdist = "setuptools.command.sdist:sdist"
110+
setopt = "setuptools.command.setopt:setopt"
111+
test = "setuptools.command.test:test"
112+
upload_docs = "setuptools.command.upload_docs:upload_docs"
113+
114+
[project.entry-points."setuptools.finalize_distribution_options"]
115+
parent_finalize = "setuptools.dist:_Distribution.finalize_options"
116+
keywords = "setuptools.dist:Distribution._finalize_setup_keywords"
117+
118+
[project.entry-points."distutils.setup_keywords"]
119+
eager_resources = "setuptools.dist:assert_string_list"
120+
namespace_packages = "setuptools.dist:check_nsp"
121+
extras_require = "setuptools.dist:check_extras"
122+
install_requires = "setuptools.dist:check_requirements"
123+
tests_require = "setuptools.dist:check_requirements"
124+
setup_requires = "setuptools.dist:check_requirements"
125+
python_requires = "setuptools.dist:check_specifier"
126+
entry_points = "setuptools.dist:check_entry_points"
127+
test_suite = "setuptools.dist:check_test_suite"
128+
zip_safe = "setuptools.dist:assert_bool"
129+
package_data = "setuptools.dist:check_package_data"
130+
exclude_package_data = "setuptools.dist:check_package_data"
131+
include_package_data = "setuptools.dist:assert_bool"
132+
packages = "setuptools.dist:check_packages"
133+
dependency_links = "setuptools.dist:assert_string_list"
134+
test_loader = "setuptools.dist:check_importable"
135+
test_runner = "setuptools.dist:check_importable"
136+
use_2to3 = "setuptools.dist:invalid_unless_false"
137+
138+
[project.entry-points."egg_info.writers"]
139+
PKG-INFO = "setuptools.command.egg_info:write_pkg_info"
140+
"requires.txt" = "setuptools.command.egg_info:write_requirements"
141+
"entry_points.txt" = "setuptools.command.egg_info:write_entries"
142+
"eager_resources.txt" = "setuptools.command.egg_info:overwrite_arg"
143+
"namespace_packages.txt" = "setuptools.command.egg_info:overwrite_arg"
144+
"top_level.txt" = "setuptools.command.egg_info:write_toplevel_names"
145+
"dependency_links.txt" = "setuptools.command.egg_info:overwrite_arg"
146+
147+
[tool.setuptools]
148+
# disabled as it causes tests to be included #2505
149+
# include_package_data = true
150+
include-package-data = false
151+
152+
[tool.setuptools.packages.find]
153+
exclude = [
154+
"*.tests",
155+
"*.tests.*",
156+
"tools*",
157+
"debian*",
158+
"launcher*",
159+
"newsfragments*",
160+
"docs",
161+
"docs.*",
162+
]
163+
namespaces = true
164+
165+
[tool.distutils.egg_info]
166+
tag-build = ".post"
167+
tag-date = 1
168+
169+
[tool.distutils.sdist]
170+
formats = "zip"
171+
6172
[tool.setuptools_scm]

Diff for: setup.cfg

-163
This file was deleted.

0 commit comments

Comments
 (0)