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 with bare distutils

In the setup.py for your package:

from distutils.core import setup

setup(name='your.package',
      ...
      command_packages = ['zope.optionalextension',
                          'distutils.command',
                         ]
      ...
     )

You need to ensure that zope.optionalextension is installed first yourself.

Using the Command with bare setuptools

In the setup.py for your package:

from setuptools import setup

setup(name='your.package',
      ...
      setup_requires=['zope.optionalextension'],
      command_packages=['zope.optionalextension',
                        'distutils.command',
                       ]
      ...
     )

zope.optionalextension Changelog

1.1 (2010-07-03)

  • Make the package work as a distutils command_packages plugin.

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.1.tar.gz (5.0 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