enthought / envisage

Envisage is a Python-based framework for building applications whose functionalities can be extended by adding "plug-ins".
http://docs.enthought.com/envisage/
Other
82 stars 26 forks source link

Add "examples" section to extras_require in setup.py #391

Open aaronayres35 opened 3 years ago

aaronayres35 commented 3 years ago

This would make it so that one could do pip install envisage[examples] and be assured that they have all the dependencies needed to run all of the examples.

This may seem like a simple issue, but because chaco is a dependency, which depends on enable things are a little muddy. In order to install enable (more specifically kiva), you need to already have numpy installed in the environment, and further you need a specific version of swig. Thus, simply adding "examples": ["numpy", "scipy", "chaco", "mayavi"] to extras_require will not work. We will need to do a bit more.

aaronayres35 commented 3 years ago

This should be a bit easier soon after the next enable and chaco releases. see PRs: https://github.com/enthought/enable/pull/808 https://github.com/enthought/enable/pull/811 https://github.com/enthought/chaco/pull/730

specific swig version is still a little clunky but with those changes, I think we should be able to address the issue