-
-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (113 loc) · 3.56 KB
/
pyproject.toml
File metadata and controls
125 lines (113 loc) · 3.56 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
[build-system]
requires = ["scikit-build-core>=0.10"]
build-backend = "scikit_build_core.build"
[project]
name = "tomotopy"
dynamic = ["version"]
description = "Tomoto, Topic Modeling Tool for Python"
readme = "README_pypi.rst"
license = {text = "MIT"}
authors = [
{ name = "bab2min", email = "bab2min@gmail.com" }
]
keywords = ["NLP", "Topic Model", "LDA", "HDP", "DMR"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Text Processing :: Linguistic",
"Topic :: Scientific/Engineering :: Information Analysis",
"Programming Language :: Python :: 3",
"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 :: C++",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
]
requires-python = ">=3.9"
dependencies = ["numpy"]
[project.urls]
Homepage = "https://github.com/bab2min/tomotopy"
Documentation = "https://bab2min.github.io/tomotopy/"
Repository = "https://github.com/bab2min/tomotopy"
Issues = "https://github.com/bab2min/tomotopy/issues"
[tool.scikit-build]
minimum-version = "build-system.requires"
build-dir = "build/{wheel_tag}"
cmake.version = ">=3.18"
cmake.build-type = "Release"
wheel.packages = ["tomotopy"]
wheel.py-api = "cp39"
wheel.license-files = ["LICENSE"]
sdist.include = [
"src/**",
"tomotopy/**",
"CMakeLists.txt",
"README_pypi.rst",
]
sdist.exclude = [
"build",
"dist",
"*.egg-info",
".git",
"__pycache__",
]
[tool.scikit-build.cmake.define]
CMAKE_POSITION_INDEPENDENT_CODE = "ON"
USE_STABLE_ABI = "ON"
[tool.scikit-build.metadata]
version.provider = "scikit_build_core.metadata.regex"
version.input = "tomotopy/_version.py"
# Platform-specific overrides
[[tool.scikit-build.overrides]]
if.platform-system = "darwin"
if.platform-machine = "arm64"
inherit.cmake.define = "append"
cmake.define.TARGET_ARCH = "arm64"
cmake.define.TOMOTOPY_ISA = "arm64"
cmake.define.BUILD_MULTI_ARCH = "OFF"
[[tool.scikit-build.overrides]]
if.platform-system = "darwin"
if.platform-machine = "x86_64"
inherit.cmake.define = "append"
cmake.define.TARGET_ARCH = "sse2"
cmake.define.TOMOTOPY_ISA = "sse2"
cmake.define.BUILD_MULTI_ARCH = "OFF"
[[tool.scikit-build.overrides]]
if.platform-system = "linux"
if.platform-machine = "aarch64"
inherit.cmake.define = "append"
cmake.define.TARGET_ARCH = "arm64"
cmake.define.TOMOTOPY_ISA = "arm64"
cmake.define.BUILD_MULTI_ARCH = "OFF"
[[tool.scikit-build.overrides]]
if.platform-system = "linux"
if.platform-machine = "x86_64"
if.env.AUDITWHEEL_PLAT = "many"
inherit.cmake.define = "append"
cmake.define.BUILD_MULTI_ARCH = "ON"
cmake.define.NO_DEBUG_INFO = "ON"
[[tool.scikit-build.overrides]]
if.platform-system = "linux"
if.platform-machine = "x86_64"
if.env.AUDITWHEEL_PLAT = false
inherit.cmake.define = "append"
cmake.define.TARGET_ARCH = "native"
cmake.define.TOMOTOPY_ISA = "native"
cmake.define.BUILD_MULTI_ARCH = "OFF"
[[tool.scikit-build.overrides]]
if.platform-system = "win32"
inherit.cmake.define = "append"
cmake.define.BUILD_MULTI_ARCH = "ON"
cmake.define.NO_DEBUG_INFO = "ON"
# Disable stable ABI when TOMOTOPY_NO_STABLE_ABI env var is set
[[tool.scikit-build.overrides]]
if.env.TOMOTOPY_NO_STABLE_ABI = true
inherit.cmake.define = "append"
wheel.py-api = ""
cmake.define.USE_STABLE_ABI = "OFF"