Don't duplicate requirements

This commit is contained in:
Sleepy Monax 2023-11-15 10:57:51 +01:00
parent fc6c503a47
commit 83f56dbf8d
4 changed files with 12 additions and 16 deletions

View file

@ -23,7 +23,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r .github/workflows/requirements.txt
python -m pip install -r requirements.txt
python -m pip install mypy pytest
- name: Run MyPy
run: |

View file

@ -14,12 +14,7 @@ authors = [
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"requests ~= 2.31.0",
"graphviz ~= 0.20.1",
"dataclasses-json ~= 0.6.2",
]
dynamic = ["version"]
dynamic = ["version", "dependencies"]
[project.scripts]
ck = "cutekit:main"
@ -31,6 +26,7 @@ packages = ["cutekit"]
[tool.setuptools.dynamic]
version = { attr = "cutekit.const.VERSION" }
dependencies = { file = ["requirements.txt"] }
[tool.setuptools.package-data]
"cutekit" = ["py.typed"]

View file

@ -1,5 +1,4 @@
requests ~= 2.31.0
graphviz ~= 0.20.1
dataclasses-json ~= 0.6.2
mypy ~= 1.7.0
pytest ~= 7.4.3
docker ~= 6.1.3