mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
Merge pull request #118 from SylvainCorlay/conda_recipe
Add a conda recipe for pybind11
This commit is contained in:
commit
fdc00f5077
@ -1,2 +1 @@
|
|||||||
include setup.py
|
|
||||||
include include/pybind11/*.h
|
include include/pybind11/*.h
|
||||||
|
2
conda.recipe/bld.bat
Normal file
2
conda.recipe/bld.bat
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
|
||||||
|
if errorlevel 1 exit 1
|
3
conda.recipe/build.sh
Normal file
3
conda.recipe/build.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
${PYTHON} setup.py install --single-version-externally-managed --record=record.txt;
|
||||||
|
|
26
conda.recipe/meta.yaml
Normal file
26
conda.recipe/meta.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user