-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.9 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (50 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[build-system]
# setuptools 77.0.1 is the first release that combines declarative ``ext-modules``
# (added in 74.1) with PEP 639 license metadata, which is what lets this
# project drop setup.py entirely.
requires = ["setuptools>=77.0.1"]
build-backend = "setuptools.build_meta"
[project]
name = "unicodedata2"
version = "18.0.0"
requires-python = ">=3.9"
description = "Unicodedata backport updated to the latest Unicode version."
authors = [
{ name = "Mike Kaplinskiy", email = "mike.kaplinskiy@gmail.com" },
]
license = "Apache-2.0"
license-files = ["LICENSE"]
# README.md and CHANGELOG.md are concatenated so both are shown on PyPI.
dynamic = ["readme"]
[project.optional-dependencies]
# Installed into every cibuildwheel test environment via CIBW_TEST_EXTRAS, so
# keep it to what "pytest tests/" actually loads. pytest-randomly is a plugin
# and shuffles test order just by being installed; coverage and pytest-xdist
# needed flags nothing passes.
testing = [
"pytest",
"pytest-randomly",
]
# Local development only. PEP 735 dependency groups are never written into
# the published wheel/sdist metadata, so this adds nothing for installers of
# unicodedata2 -- it just gives contributors "pip install --group dev".
[dependency-groups]
dev = ["tox"]
[project.urls]
Homepage = "http://github.com/fonttools/unicodedata2"
Download = "http://github.com/fonttools/unicodedata2"
[tool.setuptools]
platforms = ["any"]
# The distribution is a single top-level extension module: there are no Python
# packages or modules to ship. Saying so explicitly keeps auto-discovery from
# looking at the unicodedata2/ source directory or at tests/.
packages = []
[tool.setuptools.dynamic]
readme = { file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown" }
[[tool.setuptools.ext-modules]]
name = "unicodedata2"
sources = [
"unicodedata2/unicodedata.c",
"unicodedata2/unicodectype.c",
]
include-dirs = ["unicodedata2"]