1 From 73dd680486b72d15d6f4c7aa129219ecdbcbd7b2 Mon Sep 17 00:00:00 2001
2 From: Scott Murray <scott.murray@konsulko.com>
3 Date: Wed, 19 Apr 2023 15:55:01 -0400
4 Subject: [PATCH 1/4] dbc2val: add installation mechanism
6 Add setup.py and setup.cfg to allow installing the dbcfeederlib
7 module and dbcfeeder.py in a way suitable for packaging.
9 Upstream-Status: pending
11 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
13 setup.cfg | 30 ++++++++++++++++++++++++++++++
14 setup.py | 14 ++++++++++++++
15 2 files changed, 44 insertions(+)
16 create mode 100644 setup.cfg
17 create mode 100644 setup.py
19 diff --git a/setup.cfg b/setup.cfg
21 index 0000000..cb64407
27 +author = Sebastian Schildt, Naresh Nayak, Wenwen Chen
28 +author_email = sebastian.schildt@de.bosch.com, naresh.nayak@de.bosch.com, wenwen.chen@de.bosch.com
29 +description = KUKSA.val CAN provider
30 +long_description = file:README.md
31 +long_description_content_type = text/markdown
32 +url=https://github.com/eclipse-kuksa/kuksa-can-provider
34 + Source=https://github.com/eclipse-kuksa/kuksa-can-provider
35 + Bug Tracker=https://github.com/eclipse-kuksa/kuksa-can-provider/issues
37 + Intended Audience :: Developers
38 + Development Status :: 3 - Alpha
39 + Environment :: Console
40 + Programming Language :: Python :: 3
41 + License :: OSI Approved :: Apache Software License
42 + Operating System :: OS Independent
43 + Topic :: Software Development
45 +license_file = LICENSE
48 +python_requires = >=3.6
53 +packages=dbcfeederlib
55 diff --git a/setup.py b/setup.py
57 index 0000000..c5fb2b7
61 +from setuptools import setup
65 + "template": "{tag}",
66 + "dev_template": "{tag}-{ccount}",
67 + "dirty_template": "{tag}+{ccount}-dirty",
68 + "starting_version": "0.1.0",
69 + "version_callback": None,
70 + "version_file": None,
71 + "count_commits_from_version_file": False
73 + setup_requires=['setuptools-git-versioning'],