-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (83 loc) · 2.2 KB
/
pyproject.toml
File metadata and controls
95 lines (83 loc) · 2.2 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = [
"meson-python",
"ninja",
"cython>=3.0",
"numpy",
"setuptools_scm>=8.0",
]
build-backend = "mesonpy"
[project]
name = "pyemd"
license = { file = "LICENSE" }
description = "A Python wrapper for Ofir Pele and Michael Werman's implementation of the Earth Mover's Distance."
authors = [{ name = "Will Mayner", email = "wmayner@gmail.com" }]
requires-python = ">=3.9"
dependencies = ["numpy >= 1.15.0", "pot >= 0.9.0"]
readme = "README.rst"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
]
dynamic = ['version']
[project.optional-dependencies]
test = ['pytest']
dist = ['build', 'cibuildwheel', 'setuptools_scm', 'towncrier', 'twine']
dev = [
'pytest',
'build',
'cibuildwheel',
'setuptools_scm',
'towncrier',
'twine',
'ipython',
# Build dependencies needed for editable installs with rebuild-on-import
'meson-python',
'ninja',
'cython>=3.0',
]
[project.urls]
"Homepage" = "https://github.com/wmayner/pyemd"
"Bug Tracker" = "https://github.com/wmayner/pyemd/issues"
[tool.setuptools_scm]
local_scheme = "no-local-version"
[tool.uv]
# Prevent uv from automatically installing the local package in editable mode
# We use wheel-based development instead (see DEVELOPING.md)
package = false
[tool.cibuildwheel]
skip = ["*-win32", "*-win_amd64"]
build-verbosity = 2
before-build = "cd {project} && git describe"
test-requires = ["pytest"]
test-command = "py.test {project}"
[tool.towncrier]
package = "pyemd"
package_dir = "src"
filename = "CHANGELOG.rst"
directory = "changelog.d"
title_format = "{version} ({project_date})"
issue_format = "`#{issue} <https://github.com/wmayner/pyemd/issues/{issue}>`_"
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous"
showcontent = false