Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 22, 2020
1 parent 3bcfc28 commit 5b46702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if "%ARCH%" == "32" (set PLATFORM=x86) else (set PLATFORM=x64)

set "GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True"
set "GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True"
set "GRPC_PYTHON_CFLAGS=/DPB_FIELD_16BIT"

"%PYTHON%" -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
if errorlevel 1 exit 1
10 changes: 2 additions & 8 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ source:
- 0001-fix-win-setup-cmds.patch

build:
number: 1
# protobuf does not support Visual C++ 2008, skip windows py27
skip: True # [win and vc<10]
number: 0

requirements:
build:
Expand All @@ -26,17 +24,13 @@ requirements:
- pip
- cython
- six >=1.5.2
- futures >=2.2.0 # [py27]
- enum34 >=1.0.4 # [py27]
- zlib
- openssl
- c-ares # [unix]
run:
- python
- setuptools
- six >=1.5.2
- futures >=2.2.0 # [py27]
- enum34 >=1.0.4 # [py27]
- zlib
- openssl
- {{ pin_compatible("c-ares") }} # [unix]
Expand All @@ -56,7 +50,7 @@ test:

about:
home: https://grpc.io
license: Apache 2.0
license: Apache-2.0
license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE'
license_family: APACHE
summary: HTTP/2-based RPC framework
Expand Down

0 comments on commit 5b46702

Please sign in to comment.