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 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={ 22 "pybind11": ["py.typed", "*.pyi"], 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) 37