Skip to content

Commit b3a415c

Browse files
author
finlayclark
committed
Separate out optional dependencies
1 parent 616d06b commit b3a415c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/CI.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# conda setup requires this special shell
4646
shell: bash -l {0}
4747
run: |
48-
python -m pip install .
48+
python -m pip install .[test]
4949
micromamba list
5050
5151
- name: Run tests

pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ description = "A simple command line app to interconvert dissociation constants
55
authors = [{name = "Finlay Clark"}]
66
readme = "README.md"
77
requires-python = ">=3.9.0"
8-
dependencies = ["numpy", "scipy", "pint", "pytest", "pytest-cov"]
8+
dependencies = ["numpy", "scipy", "pint"]
99

1010
[build-system]
1111
requires = ["setuptools>=64.0.0", "wheel"]
1212
build-backend = "setuptools.build_meta"
1313

14+
[project.optional-dependencies]
15+
test = ["pytest", "pytest-cov"]
16+
dev = ["black", "flake8", "isort", "pre-commit"]
17+
18+
1419
[project.scripts]
1520
k2dg = "k2dg._cli:run_cli"
1621

0 commit comments

Comments
 (0)