Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fdea45f

Browse filesBrowse files
committed
Add tests for installing into a completely clean virtual environment.
1 parent 373c4d7 commit fdea45f
Copy full SHA for fdea45f

File tree

Expand file treeCollapse file tree

2 files changed

+2605
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2605
-0
lines changed

‎unit/test_clean_install.sh

Copy file name to clipboard
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# Tests that matplotlib can install into a completely clean virtual
4+
# environment.
5+
6+
set -e
7+
cd ..
8+
rm -rf build
9+
rm -rf numpy*
10+
rm -rf python.tmp
11+
python unit/virtualenv.py python.tmp
12+
python.tmp/bin/python setup.py install
13+
python.tmp/bin/python -c "import matplotlib"
14+
rm -rf python.tmp
15+
16+
# Tests that pip works
17+
18+
rm -rf build
19+
rm -rf numpy*
20+
rm -rf python.tmp
21+
python unit/virtualenv.py python.tmp
22+
python.tmp/bin/pip install .
23+
python.tmp/bin/python -c "import matplotlib"
24+
rm -rf python.tmp

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.