| File | Date | Author | Commit |
|---|---|---|---|
| API | 2019-04-18 | | [78c5bc] Factorisation et documentation de wxAccess.cpp |
| API_Py | 2019-04-26 | | [fcb020] Finalisation de l'interface pour ce tutorial. |
| GUI | 2019-04-26 | | [23888d] Avant de fusionner avec la branche par défaut. |
| .hgignore | 2019-04-26 | | [dd8244] L'extension des librairies dynamique de cython ... |
| LICENSE | 2018-12-28 | | [e590b4] Initial commit. |
| README.md | 2018-12-28 | | [64508c] Readme Edit. |
| wxCppPy.workspace | 2019-04-14 | | [f7d3ce] Essais d'implémentation de l'export des accès à... |
[IN PROGRESS]
A tutorial project for my blog www.suryavarman.fr
Built with:
On Unix (Linux, OS X)
pip install ./wxCppPyOn Windows (Requires Visual Studio 2015)
pip install ./wxCppPyPybind11 requires a C++11 compliant compiler (i.e. Visual Studio 2015 on
Windows). Running a regular pip install command will detect the version
of the compiler used to build Python and attempt to build the extension
with it. We must force the use of Visual Studio 2015.
- clone this repository - `"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64` - `set DISTUTILS_USE_SDK=1` - `set MSSdk=1` - `pip install ./wxCppPy` Note that this requires the user building wxcpp_py to have registry edition
rights on the machine, to be able to run the vcvarsall.bat script.
On Windows, the Visual C++ 2015 redistributable packages are a runtime
requirement for this project. It can be found here.
If you use the Anaconda python distribution, you may require the Visual Studio
runtime as a platform-dependent runtime requirement for you package:
requirements: build: - python - setuptools - pybind11 run: - python - vs2015_runtime # [win] Documentation for the example project is generated using Sphinx. Sphinx has the
ability to automatically inspect the signatures and documentation strings in
the extension module to generate beautiful documentation in a variety formats.
The following command generates HTML-based reference documentation; for other
formats please refer to the Sphinx manual:
cd wxCppPy/docsmake htmlpybind11 is provided under a BSD-style license that can be found in the LICENSE
file. By using, distributing, or contributing to this project, you agree to the
terms and conditions of this license.
import wxcpp_py vector = wxcpp_py.Vector3(1, 0, 0) vector2 = wxcpp_py.Vector3(0, 1, 0) vector.swap(vector2)