-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
51 lines (44 loc) · 1.57 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
50
51
[project]
name = "ogdf-wheel"
description = "An OGDF release build packaged as ready-to-use python wheel."
version = "2023.09"
classifiers = ["Programming Language :: Python :: 3"]
requires-python = ">=3.7"
license-files = { paths = [
"ogdf/LICENSE.txt",
"ogdf/LICENSE_GPL_v2.txt",
"ogdf/LICENSE_GPL_v3.txt",
"ogdf/include/ogdf/lib/minisat/LICENSE",
] }
readme = "README.md"
# keywords = ["one", "two"]
# license = { text = "BSD 3-Clause License" }
# dependencies = ["matplotlib", "annoy ~= 1.17.0"]
[tool.cibuildwheel]
build = ["cp310-*"]
# Skip 32-bit builds, musl build, and pypy builds
skip = ["*-win32", "*-manylinux_i686", "*-musllinux_*", "*pypy*"]
environment-pass = ["GITHUB_ACTIONS"]
manylinux-x86_64-image = "manylinux_2_28" # manylinux2014 uses a too old gcc (wlav/cppyy#70)
build-frontend = "build"
before-build = "pip debug --verbose"
# test-command = [
# "pip install git+https://github.com/N-Coder/ogdf-python.git",
# "python -m ogdf_python",
# "python {project}/test_layouts.py",
# ]
[tool.hatch.build]
ignore-vcs = true # "install" may not be excluded, otherwise weird things happen
[tool.hatch.build.targets.sdist]
exclude = ["cmake_build", "dist", "wheelhouse", ".git*"]
[tool.hatch.build.targets.wheel]
exclude = ["cmake_build", "dist", "wheelhouse", ".git*",
"hatch_build.py", "test_*.py"]
[tool.hatch.build.targets.wheel.shared-data]
# removed by hatch_build.py on windows
"install" = "/"
[tool.hatch.build.targets.wheel.hooks.custom]
# path = "/hatch_build.py"
[build-system]
requires = ["hatchling"]#, "ipython"]
build-backend = "hatchling.build"