Skip to content

Commit

Permalink
move optional dependencies into optional-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Apr 17, 2023
1 parent 2dc1c90 commit 7cefae6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
echo " "
echo "Installing jwql package"
echo " "
pip install -e .
pip install -e .[test]
echo " "
echo "Testing package installation"
Expand Down
24 changes: 13 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@ dependencies = [
"asdf",
"astropy",
"astroquery",
"bandit",
"bokeh<3",
"codecov",
"crds",
"cryptography",
"django",
"flake8",
"inflection",
"ipython",
"jinja2",
"jsonschema",
"jwst",
Expand All @@ -37,21 +33,27 @@ dependencies = [
"pandas",
"psycopg2",
"pysiaf",
"pytest",
"pytest-cov",
"pytest-mock",
"pyvo",
"scipy",
"sphinx",
"sphinx_rtd_theme",
"sqlalchemy",
"stdatamodels",
"stsci_rtd_theme",
"twine",
"wtforms",
]
dynamic = ["version"]

[project.optional-dependencies]
test = [
"codecov",
"pytest",
"pytest-cov",
"pytest-mock",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"stsci_rtd_theme",
]

[project.license]
file = "LICENSE"
content-type = "text/plain"
Expand Down

0 comments on commit 7cefae6

Please sign in to comment.