From e7006d7d39f2506217d418286f27f4ad216d1ecd Mon Sep 17 00:00:00 2001 From: Nice Zombies Date: Sun, 4 Aug 2024 13:03:56 +0200 Subject: [PATCH] Add requirements.txt --- .github/workflows/pytest.yml | 2 +- .github/workflows/requirements.txt | 2 +- src/requirements.txt | 1 + src/setup.py | 16 ---------------- 4 files changed, 3 insertions(+), 18 deletions(-) create mode 100644 src/requirements.txt delete mode 100644 src/setup.py diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3a2a0f6..2147144 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -25,7 +25,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -v src/ + pip install -r src/requirements.txt - name: Install test dependencies run: pip install -r .github/workflows/requirements.txt - name: Test with pytest diff --git a/.github/workflows/requirements.txt b/.github/workflows/requirements.txt index 2b1264f..c75731e 100644 --- a/.github/workflows/requirements.txt +++ b/.github/workflows/requirements.txt @@ -1 +1 @@ -pytest==8.2.2 \ No newline at end of file +pytest==8.2.2 diff --git a/src/requirements.txt b/src/requirements.txt new file mode 100644 index 0000000..ef63cca --- /dev/null +++ b/src/requirements.txt @@ -0,0 +1 @@ +jsonyx==1.1.0 diff --git a/src/setup.py b/src/setup.py deleted file mode 100644 index a3618c9..0000000 --- a/src/setup.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (C) 2024 Nice Zombies -"""Dependencies of PyVZ2.""" -from __future__ import annotations - -__all__: list[str] = [] - -# pylint: disable-next=E0401 -from setuptools import find_packages, setup # type: ignore - -if __name__ == "__main__": - setup( - name="pyvz2-dependencies", - version="0.0.1", - packages=find_packages(exclude="jsonyx.*"), - install_requires=["jsonyx==1.1.0"], - )