-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpyproject.toml
48 lines (36 loc) · 982 Bytes
/
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
[build-system]
requires = [
# NOTE: setuptools_scm>=8 is not supported in py3.6 cibuildwheel env.
# so use older setuptools_scm for a while
#"setuptools>=64",
#"setuptools_scm>=8",
"setuptools>=45",
"setuptools_scm[toml]<8",
"pybind11>2.11.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 140
[project]
name = "tinydng"
#version = "0.1.0"
authors = [
{name = "Syoyo Fujita", email = "[email protected]"},
]
description = "Python binding for TinyDNG"
# Use setuptools_scm
dynamic = ["version"]
readme = {file = "README.md", content-type = "text/markdown"}
# Project URLs in pyproject.toml is not mature.
# so write it to setup.py
# https://github.com/pypa/packaging-problems/issues/606
#
# [project.urils]
[project.scripts]
tinydng = "tinydng:main"
[tool.setuptools_scm]
# setuptools_scm>=8
#version_file = "python/tinydng/_version.py"
# setuptools_scm<8
write_to = "python/tinydng/_version.py"