-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
49 lines (43 loc) · 1.2 KB
/
pyproject.toml
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
[project]
name = "uwcwidth"
version = "1.0.0"
authors = [{name = "!ZAJC!"}]
readme = "README.md"
description = "terminal width of Unicode 16.0+Emoji strings in nanoseconds"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
"Topic :: Software Development :: Internationalization",
"Topic :: Terminals"
]
[project.optional-dependencies]
test = ["pytest"]
[project.urls]
"Homepage" = "https://github.com/Z4JC/uwcwidth"
[build-system]
requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["uwcwidth"]
exclude = []
namespaces = false
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
[tool.cibuildwheel]
build-frontend = "build"
test-command = """
cd $( mktemp -d ) \
&& cp -pr {project}/* ./ \
&& rm -rf uwcwidth \
&& pytest
"""
test-requires = "pytest"
skip = ["cp36-*", "cp37-*"]