Skip to content

Commit ec77e9b

Browse files
committed
updated version and workflow
1 parent 7c4629d commit ec77e9b

File tree

2 files changed

+67
-5
lines changed

2 files changed

+67
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ name: Test
33
on:
44
push:
55
branches:
6-
- develop
7-
- master
6+
- main
87
pull_request:
98
branches:
10-
- develop
11-
- master
9+
- main
1210

1311
jobs:
1412
install-test:
@@ -52,4 +50,4 @@ jobs:
5250
- name: installation
5351
run: pip install -e .[dev]
5452
- name: test
55-
run: python -m pytest --cov
53+
run: python -m pytest --cov

pyproject.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,65 @@
1+
# https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
12

3+
[build-system]
4+
# PEP 518 https://www.python.org/dev/peps/pep-0518/
5+
# https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821
6+
requires = [
7+
"setuptools>=64",
8+
"wheel", # for bdist package distribution
9+
"setuptools_scm>=6.4", # for automated versioning
10+
]
11+
12+
# PEP 517 https://peps.python.org/pep-0517/
13+
build-backend = "setuptools.build_meta"
14+
15+
[tool.setuptools]
16+
include-package-data = true
17+
package-dir = { "" = "src" }
18+
19+
[tool.setuptools.packages.find]
20+
where = ["src"]
21+
# include = []
22+
# exclude = ["tests"]
23+
namespaces = true
24+
25+
# disable automatic versioning
26+
#[tool.setuptools_scm]
27+
#write_to = "src/tinypkg/_version.py"
28+
29+
# PEP 621 https://peps.python.org/pep-0621/
30+
[project]
31+
name = "viessmannonebaselocal"
32+
version = "0.1.0"
33+
# for automated versioning by pypa/setuptools_scm. see https://peps.python.org/pep-0621/#dynamic
34+
# dynamic = ["version"]
35+
description = "A python package for local communication with Viessmann OneBase devices over CAN, Ethernet or WiFi."
36+
authors = [{ name = "@Philip-Wiege" }]
37+
readme = "README.md"
38+
license = { file = "LICENSE.txt" }
39+
requires-python = ">=3.9"
40+
classifiers = [
41+
"License :: OSI Approved ::Apache Software License",
42+
"Programming Language :: Python"
43+
]
44+
keywords = ["Viessmann", "OneBase", "CAN", "UDS", "DoIP", "Vitocal", "Vitocharge", "Vitoair", "Vitodens"]
45+
dependencies = [
46+
"udsoncan>=1.21.2",
47+
"doipclient",
48+
"python-can",
49+
"can-isotp>=2.0.2",
50+
"paho-mqtt>=2.0.0"
51+
]
52+
[project.optional-dependencies]
53+
dev = ["pytest", "pytest-cov", "black==21.10b0"]
54+
[project.urls]
55+
Homepage = "https://github.com/Philip-Wiege/viessmannonebaselocal"
56+
documentation = "https://github.com/Philip-Wiege/ViessmannOneBaseLocal/wiki"
57+
repository = ""https://github.com/Philip-Wiege/viessmannonebaselocal"
58+
59+
[project.scripts]
60+
61+
62+
# disable automatic code style check (for now)
63+
#[tool.black]
64+
#target-version = ['py39']
65+
#line-length = 120

0 commit comments

Comments
 (0)