Skip to content

Commit ff737ac

Browse files
committed
Attempt to un-break Appveyor:
- Put '_testing' on PYTHONPATH only for Py3k (debug grpico-on-Py3k issues later). - Use 'setup.py develop' rather than 'setup.py build' to get dependencies installed. - Run 'pip list' afterwards to show what got installed. Toward googleapis#1863.
1 parent 771bc7a commit ff737ac

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

appveyor.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,29 @@ environment:
3030
- PYTHON: "C:\\Python34"
3131
PYTHON_VERSION: "3.4.4"
3232
PYTHON_ARCH: "32"
33+
# Use mocked-up GRPC for now
34+
GRPC_PATH: "_testing"
3335

3436
- PYTHON: "C:\\Python34-x64"
3537
PYTHON_VERSION: "3.4.4"
3638
PYTHON_ARCH: "64"
39+
# Use mocked-up GRPC for now
40+
GRPC_PATH: "_testing"
3741

3842
# Python 3.5.1 is the latest Python 3.5 with a Windows installer
3943
# Python 3.5.1 is the overall latest
4044
# https://www.python.org/ftp/python/3.5.1/
4145
- PYTHON: "C:\\Python35"
4246
PYTHON_VERSION: "3.5.1"
4347
PYTHON_ARCH: "32"
48+
# Use mocked-up GRPC for now
49+
GRPC_PATH: "_testing"
4450

4551
- PYTHON: "C:\\Python35-x64"
4652
PYTHON_VERSION: "3.5.1"
4753
PYTHON_ARCH: "64"
54+
# Use mocked-up GRPC for now
55+
GRPC_PATH: "_testing"
4856

4957
install:
5058
- ECHO "Filesystem root:"
@@ -78,10 +86,12 @@ install:
7886

7987
build_script:
8088
# Build the compiled extension
81-
- "%CMD_IN_ENV% python setup.py build"
89+
#- "%CMD_IN_ENV% python setup.py build"
90+
- "%CMD_IN_ENV% python setup.py develop"
91+
- "%CMD_IN_ENV% pip list"
8292

8393
test_script:
84-
- "set PYTHONPATH=_testing"
94+
- "set PYTHONPATH=%GRPC_PATH%"
8595
# Run the project tests
8696
- "%CMD_IN_ENV% python setup.py nosetests"
8797

0 commit comments

Comments
 (0)