Skip to content

Commit 182532f

Browse files
committed
Use wheels embedded in virtualenv.pyz
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent f46bc48 commit 182532f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function setup {
2727
# create a virtualenv on Python
2828
mkdir -p $CONFIGURE_ROOT_DIR/tmp
2929
wget -O $CONFIGURE_ROOT_DIR/tmp/virtualenv.pyz https://bootstrap.pypa.io/virtualenv.pyz
30-
$PYTHON_EXE $CONFIGURE_ROOT_DIR/tmp/virtualenv.pyz $CONFIGURE_ROOT_DIR/tmp
30+
$PYTHON_EXE $CONFIGURE_ROOT_DIR/tmp/virtualenv.pyz --wheel embed --pip embed --setuptools embed --seeder pip $CONFIGURE_ROOT_DIR/tmp
3131
source $CONFIGURE_ROOT_DIR/tmp/bin/activate
3232
$CONFIGURE_ROOT_DIR/tmp/bin/pip install --upgrade pip virtualenv setuptools wheel
3333
}

configure.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ set PYTHONDONTWRITEBYTECODE=1
8787

8888
call mkdir "%CFG_ROOT_DIR%tmp"
8989
call curl -o "%CFG_ROOT_DIR%tmp\virtualenv.pyz" https://bootstrap.pypa.io/virtualenv.pyz
90-
call %PYTHON_EXECUTABLE% "%CFG_ROOT_DIR%tmp\virtualenv.pyz" "%CFG_ROOT_DIR%tmp"
90+
call %PYTHON_EXECUTABLE% "%CFG_ROOT_DIR%tmp\virtualenv.pyz" --wheel embed --pip embed --setuptools embed --seeder pip "%CFG_ROOT_DIR%tmp"
9191
call "%CFG_ROOT_DIR%tmp\Scripts\activate"
9292
call "%CFG_ROOT_DIR%tmp\Scripts\pip" install --upgrade pip virtualenv setuptools wheel
9393
call "%CFG_ROOT_DIR%tmp\Scripts\pip" install -e .[testing]

0 commit comments

Comments
 (0)