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 details)

Uploaded Source

File details

Details for the file zope.optionalextension-1.1.tar.gz.

File metadata

File hashes

Hashes for zope.optionalextension-1.1.tar.gz
Algorithm Hash digest
SHA256 0979d8cd044929370f52d546ed9103050bd361ec7a33fcdaf51043b0307c0d16
MD5 83cbda6c7590b6d721958eb6aeb90629
BLAKE2b-256 85112be78def90bb6fe0981d6c4c8fea9ce3d2e75f34e165eccf6b813a4ba660

See more details on using hashes here.

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