diff --git a/MANIFEST.in b/MANIFEST.in index 725968040..33c22c84c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1 @@ -include setup.py include include/pybind11/*.h diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat new file mode 100644 index 000000000..b9cd616ce --- /dev/null +++ b/conda.recipe/bld.bat @@ -0,0 +1,2 @@ +"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt +if errorlevel 1 exit 1 diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh new file mode 100644 index 000000000..175d6f16e --- /dev/null +++ b/conda.recipe/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +${PYTHON} setup.py install --single-version-externally-managed --record=record.txt; + diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml new file mode 100644 index 000000000..218391f0b --- /dev/null +++ b/conda.recipe/meta.yaml @@ -0,0 +1,26 @@ +package: + name: pybind11 + 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 + + run: + - python + +test: + imports: + - pybind11 + +about: + home: https://github.com/wjakob/pybind11/ + summary: Seamless operability between C++11 and Python