Scarab  v2.11.1
Project 8 C++ Utility Library
Public Member Functions | Static Public Attributes | List of all members
InstallHeaders Class Reference
Inheritance diagram for InstallHeaders:
Inheritance graph

Public Member Functions

def run (self)
 

Static Public Attributes

 name
 
 version = __version__,
 
string description = 'Seamless operability between C++11 and Python',
 
string author = 'Wenzel Jakob',
 
string author_email = 'wenzel.jakob@epfl.ch',
 
string url = 'https://github.com/pybind/pybind11',
 
string download_url = 'https://github.com/pybind/pybind11/tarball/v' + __version__,
 
list packages = ['pybind11'],
 
string license = 'BSD',
 
 headers = headers,
 
 cmdclass = dict(install_headers=InstallHeaders),
 
list classifiers
 
string keywords = 'C++11, Python bindings',
 
string long_description
 

Detailed Description

Use custom header installer because the default one flattens subdirectories

Definition at line 43 of file setup.py.

Member Function Documentation

◆ run()

def run (   self)

Definition at line 45 of file setup.py.

Member Data Documentation

◆ author

string author = 'Wenzel Jakob',
static

Definition at line 62 of file setup.py.

◆ author_email

string author_email = 'wenzel.jakob@epfl.ch',
static

Definition at line 63 of file setup.py.

◆ classifiers

list classifiers
static
Initial value:
= [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
'Programming Language :: C++',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: BSD License'
],

Definition at line 70 of file setup.py.

◆ cmdclass

cmdclass = dict(install_headers=InstallHeaders),
static

Definition at line 69 of file setup.py.

◆ description

string description = 'Seamless operability between C++11 and Python',
static

Definition at line 61 of file setup.py.

◆ download_url

string download_url = 'https://github.com/pybind/pybind11/tarball/v' + __version__,
static

Definition at line 65 of file setup.py.

◆ headers

headers = headers,
static

Definition at line 68 of file setup.py.

◆ keywords

string keywords = 'C++11, Python bindings',
static

Definition at line 85 of file setup.py.

◆ license

string license = 'BSD',
static

Definition at line 67 of file setup.py.

◆ long_description

string long_description
static
Initial value:
= """pybind11 is a lightweight header-only library that
exposes C++ types in Python and vice versa, mainly to create Python bindings of
existing C++ code. Its goals and syntax are similar to the excellent
Boost.Python by David Abrahams: to minimize boilerplate code in traditional
extension modules by inferring type information using compile-time
introspection.
The main issue with Boost.Python-and the reason for creating such a similar
project-is Boost. Boost is an enormously large and complex suite of utility
libraries that works with almost every C++ compiler in existence. This
compatibility has its cost: arcane template tricks and workarounds are
necessary to support the oldest and buggiest of compiler specimens. Now that
C++11-compatible compilers are widely available, this heavy machinery has
become an excessively large and unnecessary dependency.
Think of this library as a tiny self-contained version of Boost.Python with
everything stripped away that isn't relevant for binding generation. Without
comments, the core header files only require ~4K lines of code and depend on
Python (2.7 or 3.x, or PyPy2.7 >= 5.7) and the C++ standard library. This
compact implementation was possible thanks to some of the new C++11 language
features (specifically: tuples, lambda functions and variadic templates). Since
its creation, this library has grown beyond Boost.Python in many ways, leading
to dramatically simpler binding code in many common situations.""")

Definition at line 86 of file setup.py.

◆ name

name
static

Definition at line 59 of file setup.py.

◆ packages

list packages = ['pybind11'],
static

Definition at line 66 of file setup.py.

◆ url

string url = 'https://github.com/pybind/pybind11',
static

Definition at line 64 of file setup.py.

◆ version

version = __version__,
static

Definition at line 60 of file setup.py.


The documentation for this class was generated from the following file: