Skip to content

Commit

Permalink
Merge pull request #93 from giovannicuriel/fix-setup-py
Browse files Browse the repository at this point in the history
fix: fixing setup.py
  • Loading branch information
giovannicuriel committed Aug 3, 2018
2 parents 68cd6bc + dd0c63d commit d137d76
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
import setuptools
import sys

from pip import download
from pip import req
try:
from pip import download
from pip import req
except ImportError as e:
from pip._internal import download
from pip._internal import req


HERE = os.path.abspath(os.path.dirname(__file__))
Expand Down Expand Up @@ -63,4 +67,4 @@ def get_requirements(reqfile):
author='Matheus Magalhaes',
author_email='matheusr@cpqd.com.br',
url='dojot.com.br',
)
)

0 comments on commit d137d76

Please sign in to comment.