omegacen / conda-depgraph

A command-line utility to plot the dependency graph of a Conda environment.
GNU Lesser General Public License v3.0
52 stars 5 forks source link

Feature request: Install without large openjdk dependency #6

Open rfox12 opened 4 years ago

rfox12 commented 4 years ago

Looks like a neat package! Unfortunately the 162MB+ openjdk dependency isn't something I want to deal with (my machine has a newer JDK anyway). It would be great if there was a way to conda install conda-depgraph without that depedency (and simply require a java 11+ exe on the path).

teake commented 4 years ago

I prefer to keep the JDK dependency explicit, because then it will work out of the box even if you do not have Java preinstalled. But I agree, it's a bit of overkill for those that do have it.

I don't see a good way to fix it, but as a workaround you can do:

$ conda install -n base click \
    'networkx>=1.9' 'natsort>=3.2.0' \ 
    'requests>=2.3.0' 'msgpack-python>=0.4.2,<1' 

$ conda install -n base -c omegacen conda-depgraph asciinet --no-deps