-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
91 lines (82 loc) · 2.21 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
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
[build-system]
requires = ["setuptools", "wheel", "Cython", "numpy"]
build-backend = "setuptools.build_meta"
[project]
name = "tangy"
version = "0.9.1"
description = "Timetag analysing library"
authors = [
{name = "Peter Thomas Barrow", email = "[email protected]"}
]
maintainers = [
{name = "Peter Thomas Barrow", email = "[email protected]"}
]
readme = "README.md"
keywords = []
license = {text = "GPLv3"}
dependencies = [
"numpy>=2.0.0",
"scipy",
"platformdirs",
"customtkinter"
]
[project.optional-dependencies]
gui = ["customtkinter"]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings",
"mkdocs-jupyter",
"mkdoxy"
]
[project.urls]
Homepage = "https://github.com/Peter-Barrow/tangy"
# Documentation = ""
Repository = "https://github.com/Peter-Barrow/tangy.git"
Issues = "https://github.com/Peter-Barrow/tangy/issues"
[project.scripts]
tangy-list-buffers = "tangy:buffer_list_show"
tangy-close-all-buffers = "tangy:buffer_list_delete_all"
tangy-gui-uqdlogic16 = "tangy.apps.gui_uqd:run"
tangy-gui-coincidence-counter = "tangy.apps.gui_coincidence_counter:run"
[tool.cibuildwheel.linux]
before-build = [
"yum install -y libusb libusb-devel",
"pwd",
"ls ./",
"pip install requests",
"python {package}/scripts/downloader.py",
"ls ./opt",
"cp ./opt/CTimeTag/Linux/libtimetag64.so /lib/libtimetag64.so",
]
repair-wheel-command = "auditwheel repair --exclude libtimetag64.so -w {dest_dir} {wheel}"
[tool.setuptools.package-data]
"tangy" = ["py.typed", "_tangy.pyi", "_uqd.pyi"]
[tool.setuptools.packages.find]
where = ["."]
include = ["tangy*", "*.py*", "*.typed"]
exclude = ["opt", "tangy_src"]
[tool.cibuildwheel]
before-build = [
"pip install requests",
"python {package}/scripts/downloader.py",
]
skip = "pp"
archs = ["auto64"]
environment = { PATH="$PATH:./opt"}
build = [
"cp39-manylinux_x86_64",
"cp310-manylinux_x86_64",
"cp311-manylinux_x86_64",
"cp312-manylinux_x86_64",
"cp39-macosx_x86_64",
"cp39-macosx_arm64",
"cp310-macosx_x86_64",
"cp310-macosx_arm64",
"cp311-macosx_x86_64",
"cp311-macosx_arm64",
"cp39-win_amd64",
"cp310-win_amd64",
"cp311-win_amd64",
"cp312-win_amd64",
]