Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit e339b63

Browse files
osodem4reko
authored andcommitted
Add optional dependencies and one required missing
1 parent 579efb7 commit e339b63

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "g3pylib"
7-
authors = [{name = "Markus Wesslén", email = "mw2013@tobii.com"}, {name = "Oskar Söderberg", email = "os2012@tobii.com"}]
7+
authors = [
8+
{name = "Markus Wesslén", email = "mw2013@tobii.com"},
9+
{name = "Oskar Söderberg", email = "os2012@tobii.com"}
10+
]
811
readme = "README.md"
912
classifiers = [
1013
"Programming Language :: Python :: 3",
@@ -21,6 +24,21 @@ dependencies = [
2124
]
2225
dynamic = ["version", "description"]
2326

27+
[project.optional-dependencies]
28+
test = [
29+
"python-dotenv",
30+
"pytest",
31+
"pytest-dotenv",
32+
"pytest-asyncio"
33+
]
34+
doc = ["pdoc"]
35+
dev = [
36+
"isort",
37+
"black"
38+
]
39+
examples = ["python-dotenv"]
40+
example-app = ["kivy ~= 2.1.0"]
41+
2442
[project.urls]
2543
Home = "https://github.com/tobiipro/g3pylib"
2644

requirements-examples.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
python-dotenv
2+
kivy ~= 2.1.0

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
websockets ~= 10.3
22
zeroconf ~= 0.38.7
33
aiortsp @ git+https://github.com/m4reko/aiortsp@master
4+
av ~= 9.2.0

0 commit comments

Comments
 (0)