File tree Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 1515env :
1616 CIBW_TEST_EXTRAS : test
1717 CIBW_TEST_COMMAND : pytest {project}/tests
18+ CIBW_BEFORE_BUILD : pip install git+https://github.com/pybind/pybind11.git@master
1819
1920
2021jobs :
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,31 +2,42 @@ package:
22 name : python_example
33 version : {{ environ.get('GIT_DESCRIBE_TAG', 'dev') }}
44
5+ source :
6+ path : ..
7+
58build :
69 number : {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
710 {% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0
811 {% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
912 script_env :
1013 - CC
1114 - CXX
12-
13- source :
14- git_url : ../
15+ script : {{ PYTHON }} -m pip install . -vvv
1516
1617requirements :
1718 build :
19+ - {{ compiler('cxx') }}
20+ - vs2017_{{ target_platform }} # [win]
21+
22+ host :
1823 - python
19- - setuptools
20- # Disabled for now - pybind11
21- # We are requiring a version newer than the latest release
24+ - pip
25+ # Disabled for now - pybind11
26+ # We are requiring a version newer than the latest release
2227
2328 run :
2429 - python
25- - vs2015_runtime # [win]
30+
2631
2732test :
2833 imports :
2934 - python_example
35+ source_files :
36+ - tests
37+ requires :
38+ - pytest
39+ commands :
40+ - pytest .
3041
3142about :
3243 summary : An example project built with pybind11.
You can’t perform that action at this time.
0 commit comments