Skip to content

Commit f58dc9a

Browse files
committed
refactor: use flit as a backend
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent ba12432 commit f58dc9a

File tree

3 files changed

+39
-74
lines changed

3 files changed

+39
-74
lines changed

pyproject.toml

+39-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
11
[build-system]
2-
requires = ['setuptools >= 40.8.0', 'wheel']
3-
build-backend = 'setuptools.build_meta'
2+
requires = ["flit_core >=3.2"]
3+
build-backend = "flit_core.buildapi"
4+
5+
[project]
6+
name = "packaging"
7+
description = "Core utilities for Python packages"
8+
version = "21.4.dev0"
9+
readme = "README.rst"
10+
requires-python = ">=3.7"
11+
authors = [{name = "Donald Stufft", email = "donald@stufft.io"}]
12+
classifiers = [
13+
"Development Status :: 5 - Production/Stable",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: Apache Software License",
16+
"License :: OSI Approved :: BSD License",
17+
"Programming Language :: Python",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3 :: Only",
20+
"Programming Language :: Python :: 3.7",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
26+
]
27+
urls.Source = "https://github.com/pypa/packaging"
28+
dependencies = [
29+
"pyparsing>=2.0.2,!=3.0.5",
30+
]
31+
32+
33+
[tool.flit.sdist]
34+
include = ["LICENSE*", "tests/", "docs/", ".coveragerc", ".flake8", "mypy.ini", ".pre-commit-config.yaml"]
35+
exclude = ["docs/_build", "tests/manylinux/build-hello-world.sh", "tests/musllinux/build.sh", "tests/hello-world.c"]
36+
37+
38+
[tool.isort]
39+
profile = "black"
40+
combine_as_imports = true

setup.cfg

-3
This file was deleted.

setup.py

-69
This file was deleted.

0 commit comments

Comments
 (0)