Skip to content

Commit ec7fe91

Browse files
committed
build: move dev requirements into pyproject.toml
1 parent b2df4d8 commit ec7fe91

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
uses: actions/checkout@v4
3030
- name: Install
3131
run: |
32-
pip3 install -r requirements.dev.txt
33-
pip3 install .
32+
pip3 install .[dev]
3433
- name: Run tests
3534
run: python3 -m pytest
3635
wintest:
@@ -40,8 +39,7 @@ jobs:
4039
uses: actions/checkout@v4
4140
- name: Install
4241
run: |
43-
pip3 install -r requirements.dev.txt
44-
pip3 install .
42+
pip3 install .[dev]
4543
- name: Run tests
4644
run: python3 -m pytest
4745
mactest:
@@ -52,8 +50,7 @@ jobs:
5250
- uses: actions/setup-python@v5
5351
- name: Install
5452
run: |
55-
pip install -r requirements.dev.txt
56-
pip install .
53+
pip install .[dev]
5754
- name: Run tests
5855
run: python -m pytest
5956
nodetest:

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ include LICENSE
33
include README.md
44
include TODO.md
55
include config.h.in
6-
include requirements.dev.txt
76
include docs/Makefile
87
include docs/gen_config.py
98
include docs/make.bat

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ classifiers = [
3030
"Topic :: Multimedia :: Sound/Audio :: Speech",
3131
]
3232

33+
[project.optional-dependencies]
34+
dev = [
35+
"pytest",
36+
"numpy",
37+
"pre-commit",
38+
"black==24.3.0",
39+
"isort",
40+
"mypy==0.991",
41+
]
42+
3343
[project.urls]
3444
Homepage = "https://github.com/ReadAlongs/SoundSwallower"
3545
Documentation = "https://soundswallower.readthedocs.io/"

requirements.dev.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)