Skip to content

Commit

Permalink
PKG move requirements into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 4, 2025
1 parent 5615950 commit 17ca7f8
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
python-version: "3.11"

- name: Install Sphinx build requirements
run: pip install -r ./docs/requirements.txt
run: pip install .[doc]

- name: Install our package
run: pip install --no-deps -e . -vv
Expand Down
9 changes: 0 additions & 9 deletions docs/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ or

.. code:: bash
pip install -r ./requirements-dev.txt
pip install -.[all]
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,30 @@ dependencies = [
"tiled",
]

[project.optional-dependencies]
dev = [
"pydata-sphinx-theme",
"pytest",
"pytest-cov",
"pytest-qt",
"sphinx",
"sphinx-tabs",
]

doc = [
"coverage",
"coveralls",
"pydata-sphinx-theme",
"pytz",
"setuptools-scm",
"sphinx",
"sphinx-design",
"sphinx-tabs",
"tzdata",
]

all = ["gemviz[dev]"]

[project.urls]
"Homepage" = "https://github.com/BCDA-APS/gemviz"
"Bug Tracker" = "https://github.com/BCDA-APS/gemviz/issues"
Expand Down
6 changes: 0 additions & 6 deletions requirements-dev.txt

This file was deleted.

0 comments on commit 17ca7f8

Please sign in to comment.