Skip to content

Commit

Permalink
build: move dev requirements into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Dec 11, 2024
1 parent b2df4d8 commit ec7fe91
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
uses: actions/checkout@v4
- name: Install
run: |
pip3 install -r requirements.dev.txt
pip3 install .
pip3 install .[dev]
- name: Run tests
run: python3 -m pytest
wintest:
Expand All @@ -40,8 +39,7 @@ jobs:
uses: actions/checkout@v4
- name: Install
run: |
pip3 install -r requirements.dev.txt
pip3 install .
pip3 install .[dev]
- name: Run tests
run: python3 -m pytest
mactest:
Expand All @@ -52,8 +50,7 @@ jobs:
- uses: actions/setup-python@v5
- name: Install
run: |
pip install -r requirements.dev.txt
pip install .
pip install .[dev]
- name: Run tests
run: python -m pytest
nodetest:
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include LICENSE
include README.md
include TODO.md
include config.h.in
include requirements.dev.txt
include docs/Makefile
include docs/gen_config.py
include docs/make.bat
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ classifiers = [
"Topic :: Multimedia :: Sound/Audio :: Speech",
]

[project.optional-dependencies]
dev = [
"pytest",
"numpy",
"pre-commit",
"black==24.3.0",
"isort",
"mypy==0.991",
]

[project.urls]
Homepage = "https://github.com/ReadAlongs/SoundSwallower"
Documentation = "https://soundswallower.readthedocs.io/"
Expand Down
8 changes: 0 additions & 8 deletions requirements.dev.txt

This file was deleted.

0 comments on commit ec7fe91

Please sign in to comment.