Skip to content

Commit

Permalink
Merge pull request #190 from tangkong/bld_lightpath_base
Browse files Browse the repository at this point in the history
BLD: separate lightpath and lightpath[gui] subpackages
  • Loading branch information
tangkong authored Aug 30, 2024
2 parents 066b6ea + 200e890 commit 8df784d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 1 addition & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ test:
- lightpath
requires:
- ipython
- matplotlib
- pytest <7.2.0
- pytest
- pytest-qt

about:
Expand Down
5 changes: 5 additions & 0 deletions gui-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pydm
PyQt5
qtawesome
qtpy
typhos>=1.0.0
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ file = "README.rst"
[tool.setuptools.dynamic.dependencies]
file = [ "requirements.txt",]

[tool.setuptools.dynamic.optional-dependencies.gui]
file = "gui-requirements.txt"

[tool.setuptools.dynamic.optional-dependencies.doc]
file = "docs-requirements.txt"

[tool.setuptools.dynamic.optional-dependencies.test]
file = "dev-requirements.txt"
file = ["dev-requirements.txt", "gui-requirements.txt"]

[tool.pytest.ini_options]
addopts = "--cov=."
6 changes: 1 addition & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@ coloredlogs
happi>=1.6.0
numpy
ophyd
networkx<3.3
prettytable
pydm
PyQt5
qtawesome
qtpy
typhos>=1.0.0

0 comments on commit 8df784d

Please sign in to comment.