Skip to content

Commit

Permalink
fix for #2 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalieris authored Feb 4, 2019
1 parent a2dcedc commit 890627c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ that the `conda` and `networkx` packages are installed. This can be
done with `conda` itself if you like:

```bash
conda install -c mforbes conda-tree
conda install -c rvalieris conda-tree
```

# Usage
Expand Down
6 changes: 2 additions & 4 deletions conda-tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
import sys
import subprocess

import conda.install
import conda.resolve
import conda.api
import conda.exports
import networkx

def get_local_cache(prefix):
return conda.install.linked_data(prefix=prefix)
return conda.exports.linked_data(prefix=prefix)

def get_package_key(cache, package_name):
ks = list(filter(lambda i: l[i]['name'] == package_name, l))
Expand Down
12 changes: 6 additions & 6 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package:
name: conda-tree
version: "0.0.1"
version: "0.0.2"

source:
git_url: https://github.com/mforbes/conda-tree.git
git_rev: v0.0.1
git_url: https://github.com/rvalieris/conda-tree.git
git_rev: v0.0.2

requirements:
host:
Expand All @@ -18,9 +18,9 @@ build:
noarch: python
script: # See https://github.com/conda/conda-build/issues/3166
- mkdir -p "$PREFIX/bin"
- cp conda-tree.py "$PREFIX/bin/"
- cp conda-tree.py "$PREFIX/bin/conda-tree"

about:
home: https://github.com/rvalieris/conda-tree
license: MIT
license_file: LICENSE
license_file: LICENSE

0 comments on commit 890627c

Please sign in to comment.