Skip to content

Commit a3be26a

Browse files
committed
remove requirements.txt and use only pyproject.toml for deps
1 parent a17ab12 commit a3be26a

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.gitlab-ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ before_script:
2020
- python -m pip install virtualenv
2121
- virtualenv venv
2222
- source venv/bin/activate
23-
- pip install --upgrade -r requirements.txt
24-
- pip install black==24.8.0 pytest
23+
- pip install .[dev]
2524

2625
Formatting:
2726
stage: format

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ dependencies = [
3131
"wikipedia-api",
3232
"python-louvain",
3333
]
34-
34+
[project.optional-dependencies]
35+
dev = [
36+
"pytest",
37+
"black==24.8.0"
38+
]
3539
[tool.setuptools]
3640
packages = ["spikexplore", "spikexplore.backends"]
3741
script-files = []

requirements.txt

-7
This file was deleted.

0 commit comments

Comments
 (0)