Menu

Tree [23888d] pointeurs /  History

Read Only access


File Date Author Commit
 API 2019-04-18 Suryavarman Suryavarman [78c5bc] Factorisation et documentation de wxAccess.cpp
 API_Py 2019-04-26 Suryavarman Suryavarman [fcb020] Finalisation de l'interface pour ce tutorial.
 GUI 2019-04-26 Suryavarman Suryavarman [23888d] Avant de fusionner avec la branche par défaut.
 .hgignore 2019-04-26 Suryavarman Suryavarman [dd8244] L'extension des librairies dynamique de cython ...
 LICENSE 2018-12-28 Suryavarman Suryavarman [e590b4] Initial commit.
 README.md 2018-12-28 Suryavarman Suryavarman [64508c] Readme Edit.
 wxCppPy.workspace 2019-04-14 Suryavarman Suryavarman [f7d3ce] Essais d'implémentation de l'export des accès à...

Read Me

wxCppPy

[IN PROGRESS]

A tutorial project for my blog www.suryavarman.fr
Built with:

Installation

On Unix (Linux, OS X)

  • clone this repository
  • pip install ./wxCppPy

On Windows (Requires Visual Studio 2015)

  • For Python 3.5:
    • clone this repository
    • pip install ./wxCppPy
  • For earlier versions of Python, including Python 2.7:

Pybind11 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.

Windows runtime requirements

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] 

Building the documentation

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/docs
  • make html

License

pybind11 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.

Test call

import wxcpp_py vector = wxcpp_py.Vector3(1, 0, 0) vector2 = wxcpp_py.Vector3(0, 1, 0) vector.swap(vector2) 
MongoDB Logo MongoDB