Skip to main content

Optional compilation of C extensions

Project description

zope.optionalextension README

This package provides a distutils extension for building optional C extensions. It is intended for use in projects which have a Python reference implementation of one or more features, and which can function without needing any C extensions to be successfully compiled.

Using the Command

In the setup.py for your package:

from distutils import setup # or setuptools
from zope.optionalextension import optional_build_ext

setup(name='your.package',
      ...
      cmdclass = {'build_ext': optional_build_ext,
                  },
      ...
     )

zope.optionalextension Changelog

1.0 (2010-07-03)

  • Extracted from zope.i18nmessageid 3.5.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.optionalextension-1.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Supported by

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