conda-incubator / conda-tree

conda dependency tree helper
MIT License
152 stars 12 forks source link

Add setup.py #4

Closed xylar closed 5 years ago

xylar commented 5 years ago

This will support Windows properly and allow conda-tree to be added to conda-forge.

See https://github.com/conda-forge/staged-recipes/pull/8347

xylar commented 5 years ago

I bumped the version number on the assumption that there would need to be a new release (for conda-forge) once this is added.

As you probably know, you can test the build by first changing:

source:
  path: .
  #git_url: https://github.com/rvalieris/conda-tree.git
  #git_rev: v0.0.3

and then running:

conda build meta.yaml

That worked great for me locally with Ubuntu and python 3.7.

xylar commented 5 years ago

Obviously, if this PR is not welcome, just let me know. I can include these changes as a patch on conda-forge if necessary but it's always best to make these changes in the original repo if possible.

rvalieris commented 5 years ago

looks good, thanks.

xylar commented 5 years ago

Thanks so much! Could you make a 0.0.3 release as well, so I can use that on conda-forge.

xylar commented 5 years ago

Thanks very much!