mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Add compiled modules sources + readme
This commit is contained in:
10
extensions/README.rst
Normal file
10
extensions/README.rst
Normal 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
6
extensions/compiled.pyx
Normal file
@@ -0,0 +1,6 @@
|
||||
cdef class Foo:
|
||||
pass
|
||||
|
||||
|
||||
cdef class Bar:
|
||||
pass
|
||||
6
extensions/setup.py
Normal file
6
extensions/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from distutils.core import setup
|
||||
from Cython.Build import cythonize
|
||||
|
||||
setup(
|
||||
ext_modules=cythonize("compiled.pyx")
|
||||
)
|
||||
Reference in New Issue
Block a user