chore: set python build system in pyproject.toml

- fix local package install
- local packages requirement url format
This commit is contained in:
jo 2022-01-22 16:48:32 +01:00 committed by Kyle Robbertze
parent 441028a1d2
commit 0f8cb1a5ed
9 changed files with 25 additions and 4 deletions

3
analyzer/pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

View File

@ -38,8 +38,8 @@ setup(
extras_require={
"dev": [
"distro",
f"libretime-api-client @ file://localhost/{here.parent / 'api_client'}#egg=libretime_api_client",
f"libretime-shared @ file://localhost/{here.parent / 'shared'}#egg=libretime_shared",
f"libretime-api-client @ file://localhost{here.parent / 'api_client'}",
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
],
},
zip_safe=False,

3
api/pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

3
playout/pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

View File

@ -46,8 +46,8 @@ setup(
],
extras_require={
"dev": [
f"libretime-shared @ file://localhost/{here.parent / 'shared'}#egg=libretime_shared",
f"libretime-api-client @ file://localhost/{here.parent / 'api_client'}#egg=libretime_api_client",
f"libretime-api-client @ file://localhost{here.parent / 'api_client'}",
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
],
},
zip_safe=False,

3
shared/pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

3
tools/pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

3
worker/pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"