blob: 2231a08fdc1d4f0c9a0241e744d99bef486270bf [file] [log] [blame]
Henry Schreinerfd61f502020-09-16 17:13:41 -04001#!/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
6from setuptools import setup
7
8cmdclass = {}
9$extra_cmd
10
11setup(
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 Schreiner645d8382020-10-14 14:08:41 -040022 "pybind11": ["py.typed", "*.pyi"],
Henry Schreinerfd61f502020-09-16 17:13:41 -040023 "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)