Skip to content

Commit 232345e

Browse files
committed
Move dev dependencies into pyproject.toml
1 parent f2389a8 commit 232345e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,9 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python }}
2424

25-
- name: Install extra packages for tests
26-
run: |
27-
pip install wheel pynose lxml
28-
2925
- name: Install package
3026
run: |
31-
pip install .
27+
pip install .[dev]
3228
3329
- name: Run tests
3430
run: nosetests --exe

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ dependencies = [
2929
"alembic",
3030
]
3131

32+
[project.optional-dependencies]
33+
dev = [
34+
"pynose",
35+
"lxml",
36+
]
37+
3238
[tool.setuptools.packages.find]
3339
where = ["."] # Or wherever your 'scraperwiki' package folder is located
3440
include = ["scraperwiki*"]

0 commit comments

Comments
 (0)