@@ -21,42 +21,21 @@ python_example
2121[ actions-wheels-link ] : https://github.com/pybind/python_example/actions?query=workflow%3AWheels
2222[ actions-wheels-badge ] : https://github.com/pybind/python_example/workflows/Wheels/badge.svg
2323[ 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
2525[ appveyor-link ] : https://ci.appveyor.com/project/wjakob/python-example
2626<!-- TODO: get a real badge link for appveyor -->
2727[ appveyor-badge ] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
2828
2929An 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.
3032
3133Installation
3234------------
3335
34- ** On Unix (Linux, OS X)**
35-
3636 - clone this repository
3737 - ` pip install ./python_example `
3838
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-
6039CI Examples
6140-----------
6241
@@ -65,14 +44,6 @@ binary "wheels" for all platforms is illustrated in the "wheels.yml" file,
6544using [ ` cibuildwheel ` ] [ ] . You can also see a basic recipe for building and
6645testing in ` pip.yml ` , and ` conda.yml ` has an example of a conda recipe build.
6746
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-
7647
7748Building the documentation
7849--------------------------
0 commit comments