Skip to content

Commit b64b923

Browse files
authored
Merge pull request #29 from xoviat/buildorder
Change build order.
2 parents a155f0d + afc1688 commit b64b923

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ install:
7979
) ELSE (
8080
%CMD_IN_ENV% pip install -U --disable-pip-version-check --timeout 5 --retries 2 -r tests/requirements-win.txt )"
8181

82-
- "%CMD_IN_ENV% python setup.py build"
8382
- "%CMD_IN_ENV% python setup.py bdist_wheel"
84-
- "%CMD_IN_ENV% pip install ."
83+
- "%CMD_IN_ENV% python tests/scripts/install_wheels.py dist"
8584

8685
build: none
8786

tests/scripts/install_wheels.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import os
2+
import sys
3+
4+
print('WARNING: This script does not support spaces in the path!')
5+
target_dir = sys.argv[1]
6+
for file in os.listdir(target_dir):
7+
if file.endswith('.whl'):
8+
cmd = 'pip install {}'.format(os.path.join(target_dir, file))
9+
print(cmd)
10+
os.system(cmd)

0 commit comments

Comments
 (0)