-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
102 lines (85 loc) · 2.93 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
92
93
94
95
96
97
98
99
100
101
102
[project]
version = "0.25.0"
name = "tttrlib"
requires-python = ">=3.8"
description = "Read, write & process time-tagged time-resolved (TTTR) data."
readme = "README.md"
authors = [
{name = "author = Thomas-Otavio Peulen", email = "[email protected]"},
]
license = {file = "LICENSE.txt"}
keywords = [
"fluorescence",
"time-resolved",
"spectroscopy",
"imaging",
"microscopy"
]
classifiers = [
"Topic :: Software Development",
"Development Status :: 2 - Pre-Alpha",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
"Programming Language :: C++",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.urls]
homepage = "https://github.com/fluorescence-tools/tttrlib"
documentation = "https://docs.peulen.xyz/tttrlib"
repository = "https://github.com/fluorescence-tools/tttrlib.git"
[build-system]
requires = [
"wheel",
"setuptools",
"cmake_build_extension",
"numpy"
]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
# Normal options, etc.
build-verbosity = 2
test-command = 'python -c "import tttrlib; d = tttrlib.TTTR(); print(d)"'
# Skip CPython 32-bit builds
skip = ["pp*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
# Install test dependencies
test-requires = []
[tool.cibuildwheel.macos]
# Newer C++ features with old SDK:
# https://conda-forge.org/docs/maintainer/knowledge_base.html
environment = {CFLAGS="-g -Wall", CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY=1", MACOSX_DEPLOYMENT_TARGET="10.14"}
[[tool.cibuildwheel.overrides]]
select = "cp3{8,9,10}-*"
# On Linux we need to use different package managers depending on image used
[tool.cibuildwheel.linux]
before-all = [
"yum update -y --nogpgcheck",
"yum install -y epel-release",
"yum -y install boost-devel swig cmake"
]
manylinux-x86_64-image = "manylinux_2_28"
manylinux-i686-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
manylinux-ppc64le-image = "manylinux_2_28"
manylinux-s390x-image = "manylinux_2_28"
manylinux-pypy_x86_64-image = "manylinux_2_28"
manylinux-pypy_i686-image = "manylinux_2_28"
manylinux-pypy_aarch64-image = "manylinux_2_28"
archs = [
"x86_64",
# "aarch64",
# "ppc64le"
]