@@ -21,42 +21,21 @@ python_example
21
21
[ actions-wheels-link ] : https://github.com/pybind/python_example/actions?query=workflow%3AWheels
22
22
[ actions-wheels-badge ] : https://github.com/pybind/python_example/workflows/Wheels/badge.svg
23
23
[ travis-link ] : https://travis-ci.org/pybind/python_example
24
- [ travis-badge] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
24
+ [ travis-badge ] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
25
25
[ appveyor-link ] : https://ci.appveyor.com/project/wjakob/python-example
26
26
<!-- TODO: get a real badge link for appveyor -->
27
27
[ appveyor-badge ] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
28
28
29
29
An example project built with [ pybind11] ( https://github.com/pybind/pybind11 ) .
30
+ This requires Python 3.6+; for older versions of Python, check the commit
31
+ history.
30
32
31
33
Installation
32
34
------------
33
35
34
- ** On Unix (Linux, OS X)**
35
-
36
36
- clone this repository
37
37
- ` pip install ./python_example `
38
38
39
- ** On Windows (Requires Visual Studio 2015)**
40
-
41
- - For Python 3.5+:
42
- - clone this repository
43
- - ` pip install ./python_example `
44
- - For Python 2.7:
45
-
46
- Pybind11 requires a C++11 compliant compiler (i.e. Visual Studio 2015 on
47
- Windows). Running a regular ` pip install ` command will detect the version
48
- of the compiler used to build Python and attempt to build the extension
49
- with it. We must force the use of Visual Studio 2015.
50
-
51
- - clone this repository
52
- - ` "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64 `
53
- - ` set DISTUTILS_USE_SDK=1 `
54
- - ` set MSSdk=1 `
55
- - ` pip install ./python_example `
56
-
57
- Note that this requires the user building ` python_example ` to have registry edition
58
- rights on the machine, to be able to run the ` vcvarsall.bat ` script.
59
-
60
39
CI Examples
61
40
-----------
62
41
@@ -65,14 +44,6 @@ binary "wheels" for all platforms is illustrated in the "wheels.yml" file,
65
44
using [ ` cibuildwheel ` ] [ ] . You can also see a basic recipe for building and
66
45
testing in ` pip.yml ` , and ` conda.yml ` has an example of a conda recipe build.
67
46
68
- Windows Python 2.7 runtime requirements
69
- ----------------------------
70
-
71
- On Windows, the Visual C++ 2015 redistributable packages are a runtime
72
- requirement for this project if you build for Python 2.7 (newer versions of
73
- Python include this redistributable). It can be found
74
- [ here] ( https://www.microsoft.com/en-us/download/details.aspx?id=48145 ) .
75
-
76
47
77
48
Building the documentation
78
49
--------------------------
0 commit comments