Revert of the revert of the python package with version information

This reverts commit bee8f16dbb.
This commit is contained in:
Wenzel Jakob
2016-03-01 10:36:10 +01:00
parent 218b6ce246
commit 4f972c0039
4 changed files with 7 additions and 4 deletions

View File

@@ -3,8 +3,7 @@
# Setup script for PyPI; use CMakeFile.txt to build the example application
from setuptools import setup
__version__ = '1.3'
from pybind11 import __version__
setup(
name='pybind11',
@@ -14,7 +13,7 @@ setup(
author_email='wenzel@inf.ethz.ch',
url='https://github.com/wjakob/pybind11',
download_url='https://github.com/wjakob/pybind11/tarball/v' + __version__,
packages=[],
packages=['pybind11'],
license='BSD',
headers=[
'include/pybind11/attr.h',