diff --git a/appveyor.yml b/appveyor.yml index 83d30c6a9559..c67107d9fa46 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -82,9 +82,7 @@ install: # compiled extensions and are not provided as pre-built wheel packages, # pip will build them from source using the MSVC compiler matching the # target Python version and architecture - - "%CMD_IN_ENV% pip install wheel nose nose-exclude cryptography" - # Install sometimes-problematic gRPC-related dependencies - - "%CMD_IN_ENV% pip install 'grpcio >= 1.0rc1' gax-google-pubsub-v1 gax-google-logging-v2" + - "%CMD_IN_ENV% pip install -r appveyor/requirements.txt" build_script: # Build the compiled extension diff --git a/appveyor/requirements.txt b/appveyor/requirements.txt new file mode 100644 index 000000000000..8f892f6d41c9 --- /dev/null +++ b/appveyor/requirements.txt @@ -0,0 +1,13 @@ +# Install the build dependencies of the project. If some dependencies contain +# compiled extensions and are not provided as pre-built wheel packages, +# pip will build them from source using the MSVC compiler matching the +# target Python version and architecture +wheel +nose +nose-exclude +cryptography +grpcio >= 1.0rc1 +grpc-google-pubsub-v1 +grpc-google-logging-v2 +gax-google-pubsub-v1 +gax-google-logging-v2