File: setup.py

package info (click to toggle)
manif 0.0.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,576 kB
  • sloc: cpp: 11,789; ansic: 8,774; python: 2,158; sh: 24; makefile: 23; xml: 21
file content (20 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import sys

from cmake_build_extension import BuildExtension, CMakeExtension
from setuptools import setup

setup(
    ext_modules=[
        CMakeExtension(
            name="CMakeProject",
            install_prefix="manifpy",
            cmake_depends_on=["pybind11"],
            disable_editable=True,
            cmake_configure_options=[
                "-DCALL_FROM_SETUP_PY:BOOL=ON",
                "-DBUILD_PYTHON_BINDINGS:BOOL=ON",
            ],
        )
    ],
    cmdclass=dict(build_ext=BuildExtension),
)