Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
e40478bc
Commit
e40478bc
authored
Jan 01, 2017
by
Wenzel Jakob
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor setup.py updates
parent
1ceda85e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
docs/release.rst
+1
-0
setup.py
+15
-14
No files found.
docs/release.rst
View file @
e40478bc
...
@@ -3,6 +3,7 @@ To release a new version of pybind11:
...
@@ -3,6 +3,7 @@ To release a new version of pybind11:
- Update the version number and push to pypi
- Update the version number and push to pypi
- Update ``pybind11/_version.py`` (set release version, remove 'dev').
- Update ``pybind11/_version.py`` (set release version, remove 'dev').
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``.
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``.
- Ensure that all the information in ``setup.py`` is up-to-date.
- Update version in ``docs/conf.py``.
- Update version in ``docs/conf.py``.
- Tag release date in ``docs/changelog.rst``.
- Tag release date in ``docs/changelog.rst``.
- ``git add`` and ``git commit``.
- ``git add`` and ``git commit``.
...
...
setup.py
View file @
e40478bc
...
@@ -32,7 +32,7 @@ setup(
...
@@ -32,7 +32,7 @@ setup(
'include/pybind11/pytypes.h'
,
'include/pybind11/pytypes.h'
,
'include/pybind11/stl.h'
,
'include/pybind11/stl.h'
,
'include/pybind11/stl_bind.h'
,
'include/pybind11/stl_bind.h'
,
'include/pybind11/typeid.h'
,
'include/pybind11/typeid.h'
],
],
classifiers
=
[
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Development Status :: 5 - Production/Stable'
,
...
@@ -46,18 +46,19 @@ setup(
...
@@ -46,18 +46,19 @@ setup(
'Programming Language :: Python :: 3.3'
,
'Programming Language :: Python :: 3.3'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.5'
,
'Programming Language :: Python :: 3.5'
,
'License :: OSI Approved :: BSD License'
,
'Programming Language :: Python :: 3.6'
,
'License :: OSI Approved :: BSD License'
],
],
keywords
=
'C++11, Python bindings'
,
keywords
=
'C++11, Python bindings'
,
long_description
=
"""pybind11 is a lightweight header
library that exposes
long_description
=
"""pybind11 is a lightweight header
-only library that
C++ types in Python and vice versa, mainly to create Python bindings of
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
existing C++ code. Its goals and syntax are similar to the excellent
Boost.Python
library by David Abrahams: to minimize boilerplate code in
Boost.Python
by David Abrahams: to minimize boilerplate code in traditional
traditional
extension modules by inferring type information using compile-time
extension modules by inferring type information using compile-time
introspection.
introspection.
The main issue with Boost.Python
-
and the reason for creating such a similar
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
project
—
is Boost. Boost is an enormously large and complex suite of utility
libraries that works with almost every C++ compiler in existence. This
libraries that works with almost every C++ compiler in existence. This
compatibility has its cost: arcane template tricks and workarounds are
compatibility has its cost: arcane template tricks and workarounds are
necessary to support the oldest and buggiest of compiler specimens. Now that
necessary to support the oldest and buggiest of compiler specimens. Now that
...
@@ -66,9 +67,9 @@ become an excessively large and unnecessary dependency.
...
@@ -66,9 +67,9 @@ become an excessively large and unnecessary dependency.
Think of this library as a tiny self-contained version of Boost.Python with
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
everything stripped away that isn't relevant for binding generation. Without
comments, the core header files only require ~
2.5
K lines of code and depend on
comments, the core header files only require ~
4
K lines of code and depend on
Python (2.7 or 3.x
) and the C++ standard library. This compact implementation
Python (2.7 or 3.x
, or PyPy2.7 >= 5.7) and the C++ standard library. This
was possible thanks to some of the new C++11 language features (specifically:
compact implementation was possible thanks to some of the new C++11 language
tuples, lambda functions and variadic templates). Since its creation, this
features (specifically: tuples, lambda functions and variadic templates). Since
library has grown beyond Boost.Python in many ways, leading to dramatically
its creation, this library has grown beyond Boost.Python in many ways, leading
simpler binding code in many common situations."""
)
to dramatically
simpler binding code in many common situations."""
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment