From 91b73cb2bde9bb413246e1d16bbdc77cb1d0e6f9 Mon Sep 17 00:00:00 2001 From: Michael Lopez Date: Mon, 7 Oct 2024 21:30:55 +0200 Subject: [PATCH] Fixing Pyright --- .github/workflows/python-actions.yml | 2 +- pyproject.toml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-actions.yml b/.github/workflows/python-actions.yml index 6c942ed..fe7deb9 100644 --- a/.github/workflows/python-actions.yml +++ b/.github/workflows/python-actions.yml @@ -23,7 +23,7 @@ jobs: run: | python -m venv .venv source .venv/bin/activate - pip install -r requirements.txt + python3 -m pip install -r requirements.txt - name: Venv in Github Path run: echo "$PWD/.venv/bin" >> $GITHUB_PATH diff --git a/pyproject.toml b/pyproject.toml index db4ae15..4820152 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ extend-exclude = ''' [project] name = "arlo-camera-streamer" -dynamic = ["version"] +dynamic = ["version","readme","dependencies"] description = "Continuous streaming for Arlo cameras" license = { text = "MIT" } requires-python = ">=3.9" @@ -48,4 +48,8 @@ classifiers = [ ] [tool.setuptools] -py-modules = [] \ No newline at end of file +py-modules = [] +packages = [] + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]}