forked from ScratchV-Compiler/ScratchV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (44 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (44 loc) · 1.57 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "scratchv"
version = "0.3.0"
description = "A compiler from ONNX models to RISC-V assembly and LLVM IR"
readme = "README.md"
license = {text = "MIT"}
keywords = ["compiler", "risc-v", "onnx", "llvm", "machine-learning"]
requires-python = ">=3.8"
dependencies = [
"onnx>=1.14",
"numpy>=1.24",
"protobuf>=4.21",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"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",
"Topic :: Software Development :: Compilers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.optional-dependencies]
riscv = ["tinyfive"]
llvm = ["llvmlite"] # optional: LLVM IR JIT execution
verify = ["onnxruntime"] # optional: ONNX Runtime comparison
all = ["tinyfive", "llvmlite", "onnxruntime"]
[project.urls]
Source = "https://github.com/kinsomwang/ScratchV"
Documentation = "https://github.com/kinsomwang/ScratchV/tree/main/docs"
[project.scripts]
scratchv = "scratchv.main:main"
[tool.setuptools.packages.find]
include = ["scratchv", "scratchv.*", "scratchv_dag", "scratchv_dag.*", "benchmarks", "benchmarks.*"]
[tool.pytest.ini_options]
testpaths = ["tests", "benchmarks"]