File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ matrix:
22
22
env : NPY_RELAXED_STRIDES_CHECKING=1
23
23
- python : 2.7
24
24
env : USE_BENTO=1
25
+ - python : 2.7
26
+ env : USE_WHEEL=1
25
27
before_install :
26
28
- uname -a
27
29
- free -m
Original file line number Diff line number Diff line change @@ -228,12 +228,10 @@ def setup_package():
228
228
229
229
FULLVERSION , GIT_REVISION = get_version_info ()
230
230
metadata ['version' ] = FULLVERSION
231
- elif len (sys .argv ) >= 2 and sys .argv [1 ] == 'bdist_wheel' :
232
- # bdist_wheel needs setuptools
233
- import setuptools
234
- from numpy .distutils .core import setup
235
- metadata ['configuration' ] = configuration
236
231
else :
232
+ if len (sys .argv ) >= 2 and sys .argv [1 ] == 'bdist_wheel' :
233
+ # bdist_wheel needs setuptools
234
+ import setuptools
237
235
from numpy .distutils .core import setup
238
236
cwd = os .path .abspath (os .path .dirname (__file__ ))
239
237
if not os .path .exists (os .path .join (cwd , 'PKG-INFO' )):
Original file line number Diff line number Diff line change 111
111
112
112
export PYTHON
113
113
export PIP
114
- if [ " $USE_CHROOT " != " 1" ] && [ " $USE_BENTO " != " 1" ]; then
114
+ if [ -n " $USE_WHEEL " ] && [ $# -eq 0 ]; then
115
+ $PIP install --upgrade pip
116
+ $PIP install wheel
117
+ $PYTHON setup.py bdist_wheel
118
+ $PIP install --pre --upgrade --find-links dist numpy
119
+ run_test
120
+ elif [ " $USE_CHROOT " != " 1" ] && [ " $USE_BENTO " != " 1" ]; then
115
121
setup_base
116
122
run_test
117
123
elif [ -n " $USE_CHROOT " ] && [ $# -eq 0 ]; then
You can’t perform that action at this time.
0 commit comments