Add compiled modules sources + readme

This commit is contained in:
ColinDuquesnoy
2014-02-18 20:12:30 +01:00
parent 5a706265bc
commit 7aed62cb99
3 changed files with 22 additions and 0 deletions

10
extensions/README.rst Normal file
View File

@@ -0,0 +1,10 @@
This directory contains extensions modules pre-compiled to be tested
on Travis-CI (Ubuntu 12.04 64bit).
To build the extensions modules, run::
python setup.py build_ext -i
Then move the compiled modules to their testing package ( ./**compiledXX**, where XX is the
python version used to run setup.py).

6
extensions/compiled.pyx Normal file
View File

@@ -0,0 +1,6 @@
cdef class Foo:
pass
cdef class Bar:
pass

6
extensions/setup.py Normal file
View File

@@ -0,0 +1,6 @@
from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules=cythonize("compiled.pyx")
)