-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (85 loc) · 2.56 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (85 loc) · 2.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
[project]
name = "paibox"
version = "1.3.0"
description = "Toolchain of PAICORE"
authors = [{ name = "Ziru Pan", email = "zrpan@stu.pku.edu.cn" }]
license = { text = "GPL-3.0-or-later" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy (>=2.1.0,<3.0.0)",
"pydantic (>=2.0.3,<3.0.0)",
"paicorelib (>=1.5.1,<1.6.0); platform_machine != 'armv7l'",
]
maintainers = [
{ name = "Siyuan Gao", email = "siyuan-gao@outlook.com" },
{ name = "Zhaoyang Hao", email = "hzyang2218@gmail.com" },
{ name = "Ziru Pan", email = "zrpan@stu.pku.edu.cn" },
]
classifiers = [
"Development Status :: 4 - Beta",
"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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Compilers",
]
keywords = ["PAICORE", "neuromorphic-chip", "toolchain", "brain-inspired-ai"]
[project.urls]
repository = "https://github.com/PAICookers/PAIBox"
homepage = "https://github.com/PAICookers/PAIBox"
documentation = "https://github.com/PAICookers/PAIBox#readme"
[tool.poetry]
packages = [{ include = "paibox" }]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=7.0",
"pytest-md>=0.2",
"pytest-xdist>=3.7.0",
"orjson>=3.10",
]
[tool.uv]
package = true
python-preference = "system"
environments = ["platform_machine != 'armv7l'"]
[tool.uv.build-backend]
module-name = "paibox"
module-root = ""
[tool.pytest.ini_options]
minversion = "8.0.0"
testpaths = ["tests"]
addopts = ["--cov=paibox", "--cov-branch", "--cov-report=term", "-nauto"]
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary"
[[tool.uv.index]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"I001", # unsorted imports
]
'paibox/__init__.py' = [
"E402", # module level import not at top of cell
"F401", # unused import
]