skip to navigation
skip to content

zope.optionalextension 1.1

Optional compilation of C extensions

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.
 
File Type Py Version Uploaded on Size
zope.optionalextension-1.1.tar.gz (md5) Source 2010-07-03 4KB