Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
f8cb9c65
Commit
f8cb9c65
authored
Jun 01, 2017
by
Alex Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test that setuptools can be installed in a clean environment
parent
f69469b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
.travis.yml
.travis.yml
+3
-0
clean_install.sh
clean_install.sh
+18
-0
No files found.
.travis.yml
View file @
f8cb9c65
...
...
@@ -27,6 +27,9 @@ script:
#- python -m tox
-
tox
# Check that setuptools can be installed in a clean environment
-
./clean_install.sh
deploy
:
provider
:
pypi
# Also update server in setup.cfg
...
...
clean_install.sh
0 → 100755
View file @
f8cb9c65
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment