Skip to main content

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

Project description

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 | RSS feed

This version

1.0

Download files

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

Source Distribution

mr.cython-1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

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