Skip to content

Commit

Permalink
compat
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Apr 24, 2017
1 parent 89bc356 commit 376c7e6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
# %%
import pip
try:
import conda.cli
conda.cli.main('install',*req)
except Exception:
pip.main(['install',*req])
pip.main(['install',*pipreq])
try:
import conda.cli
conda.cli.main('install',*req)
except Exception:
pip.main(['install',*req])
pip.main(['install',*pipreq])
except Exception: # py27
pass
# %%
import setuptools # enables develop
from numpy.distutils.core import Extension, setup
Expand Down

0 comments on commit 376c7e6

Please sign in to comment.