Henry Schreiner | fd61f50 | 2020-09-16 17:13:41 -0400 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # -*- coding: utf-8 -*- |
| 3 | |
| 4 | # Setup script (in the sdist or in tools/setup_main.py in the repository) |
| 5 | |
| 6 | from setuptools import setup |
| 7 | |
| 8 | cmdclass = {} |
| 9 | $extra_cmd |
| 10 | |
| 11 | setup( |
| 12 | name="pybind11", |
| 13 | version="$version", |
| 14 | download_url='https://github.com/pybind/pybind11/tarball/v$version', |
| 15 | packages=[ |
| 16 | "pybind11", |
| 17 | "pybind11.include.pybind11", |
| 18 | "pybind11.include.pybind11.detail", |
| 19 | "pybind11.share.cmake.pybind11", |
| 20 | ], |
| 21 | package_data={ |
Henry Schreiner | 645d838 | 2020-10-14 14:08:41 -0400 | [diff] [blame] | 22 | "pybind11": ["py.typed", "*.pyi"], |
Henry Schreiner | fd61f50 | 2020-09-16 17:13:41 -0400 | [diff] [blame] | 23 | "pybind11.include.pybind11": ["*.h"], |
| 24 | "pybind11.include.pybind11.detail": ["*.h"], |
| 25 | "pybind11.share.cmake.pybind11": ["*.cmake"], |
| 26 | }, |
| 27 | extras_require={ |
| 28 | "global": ["pybind11_global==$version"] |
| 29 | }, |
| 30 | entry_points={ |
| 31 | "console_scripts": [ |
| 32 | "pybind11-config = pybind11.__main__:main", |
| 33 | ] |
| 34 | }, |
| 35 | cmdclass=cmdclass |
| 36 | ) |