Skip to content

Commit 0b4e78a

Browse files
committed
refactored package dependencies
1 parent f90dda6 commit 0b4e78a

File tree

5 files changed

+20
-25
lines changed

5 files changed

+20
-25
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ clean: ## Removing cached python compiled files
1212
find . -name .ruff_cache | xargs rm -rfv
1313

1414
install:clean ## Install dependencies
15-
flit install --deps develop --symlink
15+
pip install -r requirements.txt
1616
pre-commit install -f
1717

1818
lint:fmt ## Run code linters

pyproject.toml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -53,30 +53,6 @@ requires-python = ">=3.7"
5353
[tool.flit.metadata.urls]
5454
Documentation = "https://eadwincode.github.io/django-ninja-extra/"
5555

56-
[tool.flit.metadata.requires-extra]
57-
test = [
58-
"pytest",
59-
"pytest-cov",
60-
"pytest-django",
61-
"pytest-asyncio==0.20.3",
62-
"mypy == 1.7.1",
63-
"ruff ==0.1.7",
64-
"ninja-schema>=0.13.4",
65-
"django-stubs",
66-
]
67-
doc = [
68-
"mkdocs >=1.1.2,<2.0.0",
69-
"mkdocs-material >=7.1.9,<8.0.0",
70-
"mdx-include >=1.4.1,<2.0.0",
71-
"mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0",
72-
"markdown-include",
73-
"mkdocstrings"
74-
]
75-
76-
dev = [
77-
"pre-commit"
78-
]
79-
8056
[tool.ruff]
8157
select = [
8258
"E", # pycodestyle errors

requirements-docs.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
markdown-include
2+
mdx-include >=1.4.1,<2.0.0
3+
mkdocs >=1.1.2,<2.0.0
4+
mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0
5+
mkdocs-material >=7.1.9,<8.0.0
6+
mkdocstrings

requirements-tests.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
django-stubs
2+
mypy == 1.7.1
3+
ninja-schema>=0.13.4
4+
pytest
5+
pytest-asyncio==0.20.3
6+
pytest-cov
7+
pytest-django
8+
ruff ==0.1.7

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-e .
2+
-r requirements-docs.txt
3+
-r requirements-tests.txt
4+
5+
pre-commit

0 commit comments

Comments
 (0)