Skip to content

Commit

Permalink
[SWE] Use seperate target for GUI dependencies.
Browse files Browse the repository at this point in the history
These are useful when installing Pyxu in user environments such as
Jupyter notebooks. We refactor them out to not have to pull all dev
dependencies to use them.
  • Loading branch information
SepandKashani committed Oct 22, 2023
1 parent c5c4a4b commit aca618a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@ dependencies = [

# Optional dependencies =======================================================
[project.optional-dependencies]
dev = [
"graphviz >= 0.20, < 1",
"hatch >= 1.7, < 2",
interact = [
"ipython >= 8.14, < 9",
"jupyterlab >= 4.0, < 5",
"matplotlib >= 3.7, < 4",
]
dev = [
"pyxu[interact]",
"graphviz >= 0.20, < 1",
"hatch >= 1.7, < 2",
"nbsphinx >= 0.9.0, < 1",
"pre-commit >= 3.3, < 4",
"pydata_sphinx_theme == 0.13.3",
Expand All @@ -64,7 +67,7 @@ dev = [
]
fft = [ "finufft >= 2.1, < 3", ]
xray = [ "drjit == 0.4.3", ]
complete-cpu = [ "pyxu[fft,xray]", ]
complete-cpu = [ "pyxu[interact,fft,xray]", ]
gpu11-base = [ "cupy-cuda11x", ]
gpu12-base = [ "cupy-cuda12x", ]
complete11 = [ "pyxu[complete-cpu,gpu11-base]", ]
Expand Down

0 comments on commit aca618a

Please sign in to comment.