33 lines
698 B
YAML
33 lines
698 B
YAML
package:
|
|
name: cmake_example
|
|
version: {{ environ.get('GIT_DESCRIBE_TAG', 'dev') }}
|
|
|
|
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 %}
|
|
script_env:
|
|
- CC
|
|
- CXX
|
|
|
|
source:
|
|
git_url: ../
|
|
|
|
requirements:
|
|
build:
|
|
- python
|
|
- setuptools
|
|
- pybind11
|
|
- cmake
|
|
|
|
run:
|
|
- python
|
|
- vs2015_runtime # [win]
|
|
|
|
test:
|
|
imports:
|
|
- cmake_example
|
|
|
|
about:
|
|
summary: An example project built with pybind11.
|
|
license_file: LICENSE
|