File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ script:
27
27
# - python -m tox
28
28
- tox
29
29
30
+ # Check that setuptools can be installed in a clean environment
31
+ - ./clean_install.sh
32
+
30
33
deploy :
31
34
provider : pypi
32
35
# Also update server in setup.cfg
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -o errexit
4
+ set -o xtrace
5
+
6
+ # Create a temporary directory to install the virtualenv in
7
+ VENV_DIR=" $( mktemp -d) "
8
+ function cleanup() {
9
+ rm -rf " $VENV_DIR "
10
+ }
11
+ trap cleanup EXIT
12
+
13
+ # Create a virtualenv that doesn't have pip or setuptools installed
14
+ wget https://github.com/raw/pypa/virtualenv/master/virtualenv.py
15
+ python virtualenv.py --no-wheel --no-pip --no-setuptools " $VENV_DIR "
16
+ source " $VENV_DIR /bin/activate"
17
+
18
+ # Now try to install setuptools
19
+ python bootstrap.py
20
+ python setup.py install
You can’t perform that action at this time.
0 commit comments