Add a conda recipe for pybind11

This commit is contained in:
Sylvain Corlay
2016-03-01 08:57:32 -05:00
parent 74982c3d09
commit 175fa352f7
4 changed files with 31 additions and 1 deletions
-1
View File
@@ -1,2 +1 @@
include setup.py
include include/pybind11/*.h
+2
View File
@@ -0,0 +1,2 @@
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
if errorlevel 1 exit 1
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
${PYTHON} setup.py install --single-version-externally-managed --record=record.txt;
+26
View File
@@ -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