File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
2010-12-26 Doug Hellmann <
[email protected] >
2
2
3
+ * setup.py: Change "requires" to "install_requires" so pip will
4
+ try to install virtualenv if it is not already there.
5
+
3
6
* virtualenvwrapper.sh (virtualenvwrapper_get_python_version): Use
4
7
python's -V option and cut to get the version instead of a python
5
8
one-liner.
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def find_package_data(
138
138
provides = ['virtualenvwrapper' ,
139
139
'virtualenvwrapper.user_scripts' ,
140
140
],
141
- requires = ['virtualenv' ],
141
+ install_requires = ['virtualenv' ],
142
142
143
143
namespace_packages = [ 'virtualenvwrapper' ],
144
144
packages = find_packages (),
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ VERSION=$(python setup.py --version)
13
13
oneTimeSetUp () {
14
14
rm -rf " $WORKON_HOME "
15
15
mkdir -p " $WORKON_HOME "
16
- mkvirtualenv " installtest"
17
- (cd " $test_dir /.." && make sdist)
18
16
}
19
17
20
18
oneTimeTearDown () {
@@ -25,6 +23,12 @@ setUp () {
25
23
echo
26
24
}
27
25
26
+ test_build_ok () {
27
+ (cd " $test_dir /.." && make sdist)
28
+ outcome=$?
29
+ assertSame " 0" " $outcome "
30
+ }
31
+
28
32
test_install () {
29
33
dist_dir=$( dirname $test_dir ) /dist
30
34
pip install " $dist_dir /virtualenvwrapper-$VERSION .tar.gz"
You can’t perform that action at this time.
0 commit comments