Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.
Release History

Release History

This version
History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
zope.optionalextension-1.1.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 Source Jul 3, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting