blob: c859c1f75585d181809b219375e73601e053c834 [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={
22 "pybind11.include.pybind11": ["*.h"],
23 "pybind11.include.pybind11.detail": ["*.h"],
24 "pybind11.share.cmake.pybind11": ["*.cmake"],
25 },
26 extras_require={
27 "global": ["pybind11_global==$version"]
28 },
29 entry_points={
30 "console_scripts": [
31 "pybind11-config = pybind11.__main__:main",
32 ]
33 },
34 cmdclass=cmdclass
35)