-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (58 loc) · 1.89 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
[build-system]
requires = ["scikit-build-core >= 0.4.3", "nanobind >= 2.0.0", "typing_extensions >= 4.0.0", "setuptools >= 64", "setuptools_scm >= 8"]
build-backend = "scikit_build_core.build"
[project]
name = "scaluq"
dynamic = ["version"]
description = "Quantum circuit simulator for research"
authors = [
{ name = "Qulacs-Osaka", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
dependencies = [
"numpy >= 1.22.0",
"scipy >= 1.11.0"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Communications :: Email"
]
[tool.scikit-build]
minimum-version = "0.4"
# Setuptools-style build caching in a local directory
build-dir = "build/{wheel_tag}"
# Build stable ABI wheels for CPython 3.12+
wheel.py-api = "cp312"
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["python/scaluq/_version.py"]
[tool.scikit-build.cmake.define]
CMAKE_C_COMPILER = {env="CMAKE_C_COMPILER", default="gcc"}
CMAKE_CXX_COMPILER = {env="CMAKE_CXX_COMPILER", default="g++"}
SCALUQ_USE_OMP = {env="SCALUQ_USE_OMP", default="Yes"}
SCALUQ_USE_CUDA = {env="SCALUQ_USE_CUDA", default="No"}
SCALUQ_CUDA_ARCH = {env="SCALUQ_CUDA_ARCH"}
[tool.setuptools_scm]
write_to = "python/scaluq/_version.py"
[project.urls]
homepage = "http://www.scaluq.org"
[project.optional-dependencies]
doc = [
"black == 24.4.2",
"isort == 5.13.2",
"nanobind == 2.0.0",
"sphinx == 7.3.7",
"sphinx-autoapi == 3.1.1",
"sphinxcontrib-napoleon == 0.7",
"sphinx_rtd_theme == 2.0.0",
"sphinx-math-dollar == 1.2.1",
"nanobind == 2.0.0"
]