Skip to content

Commit c0f8795

Browse files
committed
Project configuration updated for new release
1 parent 3dae1a0 commit c0f8795

4 files changed

Lines changed: 28 additions & 52 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include README.md
22
include LICENSE
33
recursive-include src/py_micro_hil/templates *
4-
recursive-include examples *
4+
recursive-include example *

pyproject.toml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,33 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "py-micro-hil"
7-
version = "0.1.4"
7+
version = "0.1.5"
88
description = "Hardware-in-the-Loop testing framework"
99
readme = "README.md"
1010
requires-python = ">=3.8"
11-
license = { text = "MIT" }
11+
license = { file = "LICENSE" }
1212
authors = [
1313
{ name = "niwciu", email = "niwciu@gmail.com" }
1414
]
1515
dependencies = [
16-
"pyserial",
17-
"PyYAML",
18-
"RPi.GPIO",
19-
"spidev",
20-
"pymodbus",
21-
"smbus2",
22-
"jinja2",
23-
"termcolor"
16+
"pyserial>=3.5",
17+
"PyYAML>=6.0.2",
18+
"RPi.GPIO>=0.7",
19+
"spidev>=3.6",
20+
"pymodbus>=3.11.4",
21+
"smbus2>=0.4",
22+
"jinja2>=3.1",
23+
"termcolor>=3.2"
2424
]
2525

2626
[project.optional-dependencies]
2727
dev = [
28-
"pytest",
29-
"pytest-cov",
30-
"flake8",
31-
"black",
32-
"build",
33-
"twine"
28+
"pytest>=7.0",
29+
"pytest-cov>=4.0",
30+
"flake8>=6.0",
31+
"black>=23.0",
32+
"build>=1.0",
33+
"twine>=4.0"
3434
]
3535

3636
[project.urls]
@@ -41,6 +41,16 @@ Issues = "https://github.com/sandra/py-micro-hil/issues"
4141
[project.scripts]
4242
hiltest = "py_micro_hil.cli:main"
4343

44+
[tool.setuptools.packages.find]
45+
where = ["src"]
46+
47+
[tool.setuptools.package-data]
48+
py_micro_hil = [
49+
"templates/*.html",
50+
"templates/*.css"
51+
]
52+
53+
# Tools configuration
4454
[tool.black]
4555
line-length = 100
4656

setup.cfg

Lines changed: 0 additions & 34 deletions
This file was deleted.

tests/test_cli_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def raise_not_found(*args, **kwargs):
7474

7575
monkeypatch.setattr(importlib.metadata, "version", raise_not_found)
7676
version = cli.get_project_version()
77-
assert version == "0.1.4"
77+
assert version == "0.1.5"
7878

7979

8080
# ---------------------------------------------------------------------

0 commit comments

Comments
 (0)