Skip to content

Commit

Permalink
try to adjust insta-pip target
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 1, 2024
1 parent 3f24634 commit 2e82048
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@

APPVEYOR = bool(os.environ.get('APPVEYOR'))
PYTHON = sys.executable if APPVEYOR else os.getenv('PYTHON', sys.executable)
GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
PY3 = sys.version_info[0] >= 3
PYTEST_ARGS = "-v -s --tb=short"
if PY3:
PYTEST_ARGS += "-o "
HERE = os.path.abspath(os.path.dirname(__file__))
ROOT_DIR = os.path.realpath(os.path.join(HERE, "..", ".."))
PYPY = '__pypy__' in sys.builtin_module_names
if PY3:
GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
else:
GET_PIP_URL = "https://bootstrap.pypa.io/pip/2.7/get-pip.py"


# mandatory deps
if not PY3:
Expand Down

0 comments on commit 2e82048

Please sign in to comment.