This repository was archived by the owner on Feb 10, 2026. It is now read-only.
forked from eclipse-velocitas/vehicle-app-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
93 lines (88 loc) · 2.79 KB
/
setup.py
File metadata and controls
93 lines (88 loc) · 2.79 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
# Copyright (c) 2022-2025 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
from setuptools import setup
requirements = [
"grpcio==1.64.1",
"protobuf==5.29.5",
"cloudevents==1.11.0",
"aiohttp==3.10.11",
"paho-mqtt==2.1.0",
"opentelemetry-distro==0.46b0",
"opentelemetry-instrumentation-logging==0.46b0",
"opentelemetry-sdk==1.25.0",
"opentelemetry-api==1.25.0",
]
extra_requirements = {
"dev": [
##########################################
# Runtime Packages
##########################################
"protobuf",
"grpcio>=1.59.0",
"grpcio-tools",
"grpc-stubs",
"mypy-protobuf",
"apscheduler",
"Deprecated",
"types-Deprecated",
##########################################
# Testing Packages
##########################################
"pytest",
"pytest-asyncio",
"types-mock",
"pytest-cov",
"tox",
##########################################
# Development Tools Packages
##########################################
"pre-commit",
"mypy",
"pip-tools",
]
}
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="velocitas_sdk",
description="A Python SDK for Vehicle app",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/eclipse-velocitas/vehicle-app-python-sdk",
packages=[
"velocitas_sdk",
"velocitas_sdk.util",
"velocitas_sdk.native",
"velocitas_sdk.proto",
"velocitas_sdk.vdb",
"velocitas_sdk.test",
"velocitas_examples.seat-adjuster",
],
package_dir={
"velocitas_examples.seat-adjuster": "examples/seat-adjuster",
},
package_data={"velocitas_sdk": ["py.typed"]},
include_package_data=True,
install_requires=requirements,
extras_require=extra_requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
setuptools_git_versioning={
"enabled": True,
},
setup_requires=["setuptools-git-versioning>=2.0,<3"],
)