Skip to content

Commit 48cf874

Browse files
committed
rearrangement lib dependencies
1 parent 1c4f82a commit 48cf874

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

Makefile

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

1414
install: ## Install dependencies
15-
flit install --deps develop --symlink
15+
pip install -r requirements.txt
16+
flit install --symlink
1617

1718
install-full: ## Install dependencies
1819
make install

pyproject.toml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,14 @@ dependencies = [
4545
"pyjwt[crypto]"
4646
]
4747

48-
crypto = [
49-
"cryptography>=3.3.1",
50-
]
51-
52-
dev = [
53-
"pre-commit"
54-
]
55-
5648
[project.urls]
5749
Documentation = "https://github.com/python-ellar/ellar-jwt"
5850
Source = "https://github.com/python-ellar/ellar-jwt"
5951
Homepage = "https://python-ellar.github.io/ellar-jwt/"
6052

6153
[project.optional-dependencies]
62-
test = [
63-
"pytest >= 7.1.3,< 9.0.0",
64-
"pytest-cov >= 2.12.0,<5.0.0",
65-
"mypy == 1.8.0",
66-
"ruff ==0.3.0",
67-
"pytest-asyncio",
68-
"autoflake",
69-
"types-python-dateutil",
70-
"types-pytz"
54+
crypto = [
55+
"cryptography>=3.3.1"
7156
]
7257

7358
[tool.ruff]

requirements-test.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
autoflake
2+
mypy == 1.8.0
3+
pytest >= 7.1.3,<8.0.0
4+
pytest-asyncio
5+
pytest-cov >= 2.12.0,<5.0.0
6+
ruff ==0.3.0
7+
types-python-dateutil
8+
types-pytz

requirements.txt

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

0 commit comments

Comments
 (0)