Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '11'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '11'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.8.____73_pypy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '11'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '11'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.9.____73_pypy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '11'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '11'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
Expand Down
6 changes: 4 additions & 2 deletions .ci_support/osx_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '11.3'
MACOSX_SDK_VERSION:
- '11.3'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
Expand Down
6 changes: 4 additions & 2 deletions .ci_support/osx_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '11.3'
MACOSX_SDK_VERSION:
- '11.3'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
Expand Down
6 changes: 4 additions & 2 deletions .ci_support/osx_64_python3.8.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '11.3'
MACOSX_SDK_VERSION:
- '11.3'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
Expand Down
6 changes: 4 additions & 2 deletions .ci_support/osx_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '11.3'
MACOSX_SDK_VERSION:
- '11.3'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
Expand Down
6 changes: 4 additions & 2 deletions .ci_support/osx_64_python3.9.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '11.3'
MACOSX_SDK_VERSION:
- '11.3'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
Expand Down
6 changes: 4 additions & 2 deletions .ci_support/osx_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '11.3'
MACOSX_SDK_VERSION:
- '11.3'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
Expand Down
4 changes: 2 additions & 2 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set BLPAPI_ROOT=%CD%
copy "%BLPAPI_ROOT%"\lib\ "%PREFIX%"\Library\bin
if errorlevel 1 exit 1
"%PYTHON%" setup.py install
"%PYTHON%" -m pip install --no-deps --ignore-installed .
if errorlevel 1 exit 1
3 changes: 2 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

export BLPAPI_ROOT="."
$PYTHON setup.py install

$PYTHON -m pip install --no-deps --ignore-installed .

if [ -d "$BLPAPI_ROOT/Linux" ]; then
cp -v $BLPAPI_ROOT/Linux/lib*.so $PREFIX/lib/
Expand Down
5 changes: 5 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Please consult conda-forge/core before doing this
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "11.3" # [osx and x86_64]
MACOSX_SDK_VERSION: # [osx and x86_64]
- "11.3" # [osx and x86_64]
24 changes: 10 additions & 14 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% set name = "blpapi" %}
{% set version = "3.19.1" %}
{% set blpapicpp_linux_version = "3.19.1.1" %}
{% set blpapicpp_win_version = "3.19.1.1" %}
{% set blpapicpp_osx_version = "3.19.1.1" %}
{% set version = "3.21.0" %}
{% set blpapicpp_linux_version = "3.21.0.1" %}
{% set blpapicpp_win_version = "3.21.0.1" %}
{% set blpapicpp_osx_version = "3.21.0.1" %}


package:
Expand All @@ -11,20 +11,16 @@ package:

source:
- url: https://bcms.bloomberg.com/pip/simple/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: d85f6c41eb4ba17ab594d7a497a7960cf759943a23ed157b82d56372105352e9
sha256: 6e9034cc8ad976615a49e2e4694cd1948e90a91438f842c8a7e2e01073470aba
- url: https://bcms.bloomberg.com/BLPAPI-Generic/blpapi_cpp_{{ blpapicpp_linux_version }}-linux.tar.gz # [linux]
sha256: d68ffe4e30a6dcc37a1884013dc67312802b1bdd7a4886ead5ac783bcfb1f180 # [linux]
sha256: 456123d318577b983ed5290c17b613a1088e17dba0b6652143f3041dd445c509 # [linux]
- url: https://bcms.bloomberg.com/BLPAPI-Generic/blpapi_cpp_{{ blpapicpp_win_version }}-windows.zip # [win]
sha256: 55eea42d5587df52c39157ba9285c41f2cf4034d7fc614244cd1e58c9297d308 # [win]
sha256: 4976c859ecef574c3cd9a656677f180c97493efb6df98a2f18f04c34894d5943 # [win]
- url: https://bcms.bloomberg.com/BLPAPI-Generic/blpapi_cpp_{{ blpapicpp_osx_version }}-macos.tar.gz # [osx]
sha256: d6d23831db85a674a0d647d2d2deac3e9aa9ada699e1588ab5f128d453e185ba # [osx]
- url: https://bcms.bloomberg.com/pip/simple/{{ name }}/{{ name }}-{{ version }}-cp39-cp39-macosx_10_9_x86_64.whl # [osx]
sha256: 4f50344150daf2e7c9857aa336176b53311b3b66e0fc4a7afacec41940b679ff # [osx]
- url: https://bcms.bloomberg.com/pip/simple/{{ name }}/{{ name }}-{{ version }}-cp310-cp310-macosx_10_9_universal2.whl # [osx]
sha256: b4fbddc9c996c3ad4bb4313f596fe713171423f6d6425dbde6c3c2deda6652a9 # [osx]
sha256: eaf9f3e5caede1655277d19d5f78d9f2c5a6d9f922056eef323fe57d3a9734ee # [osx]

build:
number: 1
number: 0

requirements:
build:
Expand All @@ -34,7 +30,7 @@ requirements:
- pip
run:
- python

- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]
test:
imports:
- blpapi
Expand Down