Skip to content

Commit

Permalink
bundle zeromq on Windows + py35
Browse files Browse the repository at this point in the history
win+py35 isn't importing in downstream packages,
so try building it the same as everything else.
  • Loading branch information
minrk committed Jul 15, 2016
1 parent 78f0850 commit 846b610
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ set DISTUTILS_USE_SDK=1
:: https://github.com/conda-forge/staged-recipes/pull/292 has some more detail.

set ZMQ=%LIBRARY_PREFIX%
IF %CONDA_PY% LSS 35 (
SET ZMQ=bundled
)
set ZMQ=bundled

"%PYTHON%" setup.py configure --zmq "%ZMQ%"
if errorlevel 1 exit 1
Expand Down
6 changes: 3 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source:
md5: 87e3abb33af5794db5ae85c667bbf324

build:
number: 1
number: 2

# On Windows ZeroMQ is bundled with pyzmq.
# On Windows pyzmq includes tweetnacl so libsodium is not used.
Expand All @@ -21,11 +21,11 @@ requirements:
build:
- pkg-config # [not win]
- python
- zeromq # [not win or (win and py35)]
- zeromq # [not win]
- libsodium # [not win]
run:
- python
- zeromq # [not win or (win and py35)]
- zeromq # [not win]
- libsodium # [not win]

test:
Expand Down

0 comments on commit 846b610

Please sign in to comment.