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 15
15
env :
16
16
CIBW_TEST_EXTRAS : test
17
17
CIBW_TEST_COMMAND : pytest {project}/tests
18
+ CIBW_BEFORE_BUILD : pip install git+https://github.com/pybind/pybind11.git@master
18
19
19
20
20
21
jobs :
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:
2
2
name : python_example
3
3
version : {{ environ.get('GIT_DESCRIBE_TAG', 'dev') }}
4
4
5
+ source :
6
+ path : ..
7
+
5
8
build :
6
9
number : {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
7
10
{% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0
8
11
{% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
9
12
script_env :
10
13
- CC
11
14
- CXX
12
-
13
- source :
14
- git_url : ../
15
+ script : {{ PYTHON }} -m pip install . -vvv
15
16
16
17
requirements :
17
18
build :
19
+ - {{ compiler('cxx') }}
20
+ - vs2017_{{ target_platform }} # [win]
21
+
22
+ host :
18
23
- 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
22
27
23
28
run :
24
29
- python
25
- - vs2015_runtime # [win]
30
+
26
31
27
32
test :
28
33
imports :
29
34
- python_example
35
+ source_files :
36
+ - tests
37
+ requires :
38
+ - pytest
39
+ commands :
40
+ - pytest .
30
41
31
42
about :
32
43
summary : An example project built with pybind11.
You can’t perform that action at this time.
0 commit comments