forked from Mystery-Golden-Retriever/PipeEdge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (53 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
59 lines (53 loc) · 1.46 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
[project]
name = "pipeedge"
version = "0.1.1"
description = "PipeEdge"
authors = [
{ "name" = "Yang Hu", "email" = "yhu210003@usc.edu" },
{ "name" = "Connor Imes", "email" = "cimes@isi.edu" },
{ "name" = "Haonan Wang", "email" = "haonanwa@usc.edu" },
]
readme = "README.md"
requires-python = ">=3.7"
license = { "file" = "LICENSE" }
dependencies = [
"apphb>=0.1.0",
"energymon>=0.1.0",
"networkx>=2.6",
"numpy>=1.15.0",
"PyYAML",
"requests",
"scipy",
"timm>=0.3.2",
"torch>=1.8.0",
"transformers>=4.6.0",
]
[project.optional-dependencies]
# Required by applications and tools not in the pipeedge package
runtime = [
"datasets>=2.0.0",
"Pillow",
"psutil",
"torchvision>=0.3.0",
]
[build-system]
# py-build-cmake isn't particularly stable yet, so we'll use a specific version
requires = ["py-build-cmake==0.1.8"]
build-backend = "py_build_cmake.build"
[tool.py-build-cmake.module]
directory = "src"
[tool.py-build-cmake.sdist]
include = [
"src-native/*",
]
[tool.py-build-cmake.cmake]
minimum_version = "3.8"
build_type = "RelWithDebInfo"
source_path = "src-native"
build_args = ["-j"]
install_components = ["PipeEdge_Runtime"]
[tool.py-build-cmake.editable]
# See: https://tttapa.github.io/py-build-cmake/Editable-install.html
# The "wrapper" mode doesn't work with pylint, which is the only external tool we care about
# The "hook" and "symlink" modes work with pylint, with "hook" being the most portable
mode = "hook"