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


Release history Release notifications

This version
History Node

1.1

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
zope.optionalextension-1.1.tar.gz (5.0 kB) Copy SHA256 hash SHA256 Source None Jul 3, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page