File: setup.py

package info (click to toggle)
mypy 1.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,388 kB
  • sloc: python: 114,600; ansic: 13,343; cpp: 11,380; makefile: 247; sh: 27
file content (18 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# pybind11 is available at setup time due to pyproject.toml
from pybind11.setup_helpers import Pybind11Extension
from setuptools import setup

# Documentation: https://pybind11.readthedocs.io/en/stable/compiling.html
ext_modules = [
    Pybind11Extension(
        "pybind11_fixtures",
        ["src/main.cpp"],
        cxx_std=17,
    ),
]

setup(
    name="pybind11_fixtures",
    version="0.0.1",
    ext_modules=ext_modules,
)