-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (116 loc) · 3.91 KB
/
pyproject.toml
File metadata and controls
132 lines (116 loc) · 3.91 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[build-system]
requires = [
"setuptools>=59",
"wheel",
"pybind11==2.12.1; python_version == '3.6'",
"pybind11==2.13.6; python_version >= '3.7'",
"numpy==2.0.2; python_version == '3.9'",
"numpy==2.2.6; python_version >= '3.10'",
]
build-backend = "setuptools.build_meta"
[project]
name = "dolphindb"
dynamic = ["version"]
description = "A C++ boosted DolphinDB Python API based on Pybind11"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "DolphinDB, Inc.", email = "support@dolphindb.com" }
]
license = { text = "DolphinDB" }
requires-python = ">=3.8"
dependencies = [
"numpy >= 1.18.0, <3",
"pandas >= 1.0.0, !=1.3.0, <3",
"future",
"packaging",
"pydantic >= 2.0"
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS"
]
[project.urls]
Homepage = "https://dolphindb.com"
[tool.setuptools.packages.find]
where = ["."]
include = ["dolphindb"]
[tool.setuptools.dynamic]
version = { attr = "dolphindb.__version__" }
[tool.cibuildwheel]
archs = ["auto"]
build-frontend = "default"
config-settings = {}
dependency-versions = "pinned"
environment = {}
environment-pass = []
build-verbosity = 1
skip = ["*-win32", "*-manylinux_i686", "pp*", "*-musllinux*", "*cp314*"]
before-all = ""
before-build = [
"python --version",
"python -m pip install --upgrade pip"
]
repair-wheel-command = ""
test-command = ""
before-test = ""
test-requires = []
test-extras = []
container-engine = "docker"
manylinux-x86_64-image = "manylinux2014_x86_64:dolphindb"
manylinux-aarch64-image = "manylinux2014_aarch64:dolphindb"
[tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
before-all = "rm -rf build"
before-build = [
"python --version",
"python -m pip config set global.index-url --site http://mirrors.aliyun.com/pypi/simple/",
"python -m pip config set global.trusted-host mirrors.aliyun.com",
"python -m pip install --upgrade pip --trusted-host mirrors.aliyun.com"
]
[[tool.cibuildwheel.overrides]]
select = "*-aarch64*"
before-build = [
"python --version",
"python -m pip config set global.index-url --site http://mirrors.aliyun.com/pypi/simple/",
"python -m pip config set global.trusted-host mirrors.aliyun.com",
"python -m pip install --upgrade pip --trusted-host mirrors.aliyun.com"
]
[tool.cibuildwheel.macos]
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
archs = ["x86_64", "arm64"]
before-all = "rm -rf build"
before-build = [
"python --version",
"python -m pip config set global.index-url --site http://mirrors.aliyun.com/pypi/simple/",
"python -m pip config set global.trusted-host mirrors.aliyun.com",
"pip config list",
"pip config debug",
"python -m pip install --upgrade pip --trusted-host mirrors.aliyun.com",
"python -m pip install --upgrade certifi"
]
[[tool.cibuildwheel.overrides]]
select = "cp*-macosx_x86_64"
environment.MACOSX_DEPLOYMENT_TARGET = "10.13"
[[tool.cibuildwheel.overrides]]
select = "cp*-macosx_arm64"
environment.MACOSX_DEPLOYMENT_TARGET = "11.0"
[tool.cibuildwheel.windows]
before-all = [
"(if exist build rmdir /s /q build)",
]
before-build = [
"python --version",
"python -m pip config set global.index-url --site http://mirrors.aliyun.com/pypi/simple/",
"python -m pip config set global.trusted-host mirrors.aliyun.com",
"python -m pip install --upgrade pip --trusted-host mirrors.aliyun.com"
]