#!/usr/bin/env bash

# This test was created in
# https://github.com/pypa/setuptools/pull/1050
# but it really should be incorporated into the test suite
# such that it runs on Windows and doesn't depend on
# virtualenv. Moving to test_integration will likely address
# those concerns.

set -o errexit
set -o xtrace

# Create a temporary directory to install the virtualenv in
VENV_DIR="$(mktemp -d)"
function cleanup() {
  rm -rf "$VENV_DIR"
}
trap cleanup EXIT

# Create a virtualenv that doesn't have pip or setuptools installed
wget https://raw.githubusercontent.com/pypa/virtualenv/master/virtualenv.py
python virtualenv.py --no-wheel --no-pip --no-setuptools "$VENV_DIR"
source "$VENV_DIR/bin/activate"

# Now try to install setuptools
python bootstrap.py
python setup.py install

#!/usr/bin/env bash

set -o errexit
set -o xtrace

# Create a temporary directory to install the virtualenv in
VENV_DIR="$(mktemp -d)"
function cleanup() {
  rm -rf "$VENV_DIR"
}
trap cleanup EXIT

# Create a virtualenv that doesn't have pip or setuptools installed
wget https://raw.githubusercontent.com/pypa/virtualenv/master/virtualenv.py
python virtualenv.py --no-wheel --no-pip --no-setuptools "$VENV_DIR"
source "$VENV_DIR/bin/activate"

# Now try to install setuptools
python bootstrap.py
python setup.py install

--- 
+++ 
@@ -1,11 +1,4 @@
 #!/usr/bin/env bash
-
-# This test was created in
-# https://github.com/pypa/setuptools/pull/1050
-# but it really should be incorporated into the test suite
-# such that it runs on Windows and doesn't depend on
-# virtualenv. Moving to test_integration will likely address
-# those concerns.
 
 set -o errexit
 set -o xtrace
Add comment explaining additional needs for this test.
