-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
73 lines (61 loc) · 2.04 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
[tool.poetry]
name = "paibox"
version = "1.0.0"
description = "Toolchain of PAICORE 2.0."
authors = ["Ziru Pan <zrpan@stu.pku.edu.cn>"]
maintainers = [
"Hongtu Xia <hongtux@pku.edu.cn>",
"Siyuan Gao <siyuan-gao@outlook.com>",
"Zhaoyang Hao <hzyang2218@gmail.com>",
"Ziru Pan <zrpan@stu.pku.edu.cn>",
]
license = "GPL-3.0-or-later"
readme = "README.md"
repository = "https://github.com/PAICookers/PAIBox"
homepage = "https://github.com/PAICookers/PAIBox"
documentation = "https://github.com/PAICookers/PAIBox#readme"
keywords = ["PAICORE 2.0", "PAIBox", "SNN", "Toolchain"]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries",
]
packages = [{ include = "paibox" }]
# Includes the document
include = ["docs", "CHANGELOG.md"]
# Excludes the experimental code
exclude = ["paibox/experimental"]
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^2.0"
numpy = "^1.24.0"
paicorelib = "^1.0.0"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = { version = "^8.0.0", python = "^3.8" }
pytest-md = "^0.2.0"
torch = { version = "^2.2.1+cpu", optional = true, source = "torch-cpu" }
[tool.pytest.ini_options]
minversion = "7.0.0"
testpaths = ["tests"]
[[tool.poetry.source]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"