diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat new file mode 100644 index 0000000..5ddc156 --- /dev/null +++ b/conda.recipe/bld.bat @@ -0,0 +1,5 @@ +call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64 +set DISTUTILS_USE_SDK=1 +set MSSdk=1 +"%PYTHON%" setup.py install +if errorlevel 1 exit 1 diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh new file mode 100644 index 0000000..89fce62 --- /dev/null +++ b/conda.recipe/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +${PYTHON} setup.py install; + diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml new file mode 100644 index 0000000..037c558 --- /dev/null +++ b/conda.recipe/meta.yaml @@ -0,0 +1,29 @@ +package: + name: pbtest + version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} + +build: + number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} + {% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0 + {% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %} + +source: + git_url: ../ + +requirements: + build: + - python + - setuptools + - pybind11 + + run: + - python + - vs2015_runtime # [win] + +test: + imports: + - pbtest + +about: + summary: An example project built with pybind11. + license_file: LICENSE