Skip to content

Commit 1c84e9e

Browse files
authored
Merge pull request #24 from nexB/use-venv-embeds
Use virtualenv-embedded libraries
2 parents 386bb90 + cd4e87b commit 1c84e9e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

configure

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ 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
32-
$CONFIGURE_ROOT_DIR/tmp/bin/pip install --upgrade pip virtualenv setuptools wheel
3332
}
3433

3534

configure.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ 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"
92-
call "%CFG_ROOT_DIR%tmp\Scripts\pip" install --upgrade pip virtualenv setuptools wheel
9392
call "%CFG_ROOT_DIR%tmp\Scripts\pip" install -e .[testing]
9493

9594
@rem Return a proper return code on failure

0 commit comments

Comments
 (0)