Skip to main content

A zc.buildout extension to befriend mr.developer and Cython.

Project description

Contents

mr.cython

Problem

Buildout and mr.developer play nice together, until Cython join the party. There are no unified way to detect/use Cython, some of them (gevent) just use cython command from PATH or from CYTHON environment variable, others just try to import Cython modules directly from setup.py.

Solution

Add mr.cython to the extensions entry in your [buildout] section:

[buildout]
extensions = mr.cython

If you use mr.developer, add mr.cython right after them:

[buildout]
extensions =
    mr.developer
    mr.cython

This implicitly install cython into your bin/ directory, and allow setup.py from subsequent developed packages find cython in path, and allow import Cython.* namespace from them. Only eggs from develop line of [buildout] are affected, including eggs pulled by mr.developer.

Project details


Release history Release notifications

This version
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
mr.cython-1.0.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

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