forked from spcl/serverless-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
162 lines (148 loc) · 3.69 KB
/
pyproject.toml
File metadata and controls
162 lines (148 loc) · 3.69 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[build-system]
requires = ["setuptools>=77.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "serverless-benchmarks"
version = "1.2.1"
description = "Serverless Benchmark Suite"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
authors = [
{name = "Marcin Copik", email = "marcin.copik@inf.ethz.ch"}
]
keywords = ["serverless", "faas", "benchmark", "lambda", "azure-functions", "cloud-computing"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: System :: Benchmark",
"Topic :: System :: Distributed Computing",
]
# Core dependencies (Now includes all cloud providers by default)
dependencies = [
# Core framework
"testtools>=2.4.0",
"docker>=4.2.0",
"tzlocal>=2.1",
"requests",
"pandas>=1.1.3",
"numpy",
"scipy",
"pycurl>=7.43",
"click>=7.1.2",
"rich",
"patch-ng",
"tomli ; python_version < '3.11'",
"tomli_w",
# Storage & Local
"minio==5.0.10",
# AWS
"boto3",
"botocore",
"urllib3",
# Azure
"azure-storage-blob==12.10.0",
"azure-cosmos",
# GCP
"grpcio",
"google-cloud-storage>=1.32.0",
"google-api-python-client>=1.12.5",
"google-cloud-monitoring>=2.0.0",
"google-api-python-client-stubs",
"google-cloud-logging>=2.0.0",
"google-cloud-datastore",
"google-cloud-build>=3.35.0",
# benchmark verification - process image
"Pillow",
# benchmrak verification - video processing
"imageio-ffmpeg>=0.4.9"
]
# True Optional dependencies (Only installed if explicitly requested)
[project.optional-dependencies]
dev = [
"flake8",
"black==22.8.0",
"mypy",
"types-pycurl",
"types-requests",
"types-PyYAML",
"types-urllib3",
"types-docker",
"interrogate==1.7.0",
"boto3-stubs[lambda,s3,apigatewayv2,sts,logs,iam,ecr]"
]
docs = [
# use 8.2.3 for doc builds, but remove it for 3.10 compatibility
"Sphinx",
"sphinx-rtd-theme==3.0.2",
"myst-parser==4.0.1",
"sphinxcontrib-mermaid==2.0.0"
]
[project.scripts]
sebs = "sebs.cli:main"
[project.urls]
Homepage = "https://github.com/spcl/serverless-benchmarks"
Repository = "https://github.com/spcl/serverless-benchmarks"
Issues = "https://github.com/spcl/serverless-benchmarks/issues"
Documentation = "https://sebs.readthedocs.io"
[tool.setuptools]
# Use both auto-discovery and explicit package mapping
packages = [
"sebs",
"sebs.aws",
"sebs.azure",
"sebs.gcp",
"sebs.cloudflare",
"sebs.local",
"sebs.openwhisk",
"sebs.faas",
"sebs.storage",
"sebs.experiments",
"sebs.benchmarks",
"sebs.dockerfiles",
"sebs.configs",
"sebs.tools",
]
# Map top-level directories to sebs subpackages
[tool.setuptools.package-dir]
"sebs.benchmarks" = "benchmarks"
"sebs.dockerfiles" = "dockerfiles"
"sebs.configs" = "configs"
"sebs.tools" = "tools"
[tool.setuptools.package-data]
# Include all necessary non-Python files
sebs = ["py.typed"]
"sebs.configs" = ["systems.json"]
"sebs.benchmarks" = [
"**/*.py",
"**/*.js",
"**/*.cpp",
"**/*.hpp",
"**/*.json",
"**/*.java",
"**/*.xml",
"**/*.txt",
"**/*.sh",
"**/*.html",
"**/*.png",
"**/*.md",
"**/Dockerfile*",
"**/requirements.txt.*",
"**/package.json.*",
"**/CMakeLists.txt",
]
"sebs.dockerfiles" = [
"**/*",
]
"sebs.cloudflare" = [
"templates/*.toml",
]
"sebs.tools" = [
"**/*.py",
]