Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Provides some usable cmake related build extensions

Project description

CMake Setuptools

A small library of setuptools extensions to ease building python packages which have a cmake component.

Install

pip install cmake_setuptools

Usage

from setuptools import setup
from cmake_setuptools import *

setup(name='mypackage',
      description='',
      version='0.0.0.dev0',
      ext_modules=[CMakeExtension('make_target')],
      cmdclass={'build_ext': CMakeBuildExt}
      )

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page