Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update extras_require to include requirements for examples #1140

Merged
merged 6 commits into from Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions etstool.py
Expand Up @@ -116,6 +116,8 @@
}

# Additional toolkit-independent dependencies for demo testing
# This should correspond to the "examples" dependencies in extras_requires but
# the following names are used by EDM.
test_dependencies = {
"apptools",
"chaco",
Expand Down
13 changes: 12 additions & 1 deletion traitsui/__init__.py
Expand Up @@ -27,7 +27,18 @@
"pyqt": ["pyqt>=4.10", "pygments"],
"pyqt5": ["pyqt5", "pygments"],
"pyside2": ["pyside2", "shiboken2", "pygments"],
"demo": ["configobj", "docutils"],
"demo": [
# to be deprecated, see enthought/traitsui#950
"configobj", "docutils",
],
"examples": [
kitchoi marked this conversation as resolved.
Show resolved Hide resolved
# Dependencies for examples
"apptools",
"chaco", # for a very simple example, see enthought/traitsui#1139
"h5py",
"numpy",
"tables",
kitchoi marked this conversation as resolved.
Show resolved Hide resolved
],
"test": ["packaging"],
}

Expand Down