Skip to content

Commit

Permalink
fix python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariane Previde committed Apr 29, 2021
1 parent 54f3b68 commit 0b44c40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@

import setuptools

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

0 comments on commit 0b44c40

Please sign in to comment.