Move extensions dir into test

This commit is contained in:
ColinDuquesnoy
2014-02-19 08:10:43 +01:00
parent f808dbbd28
commit 2c97d01bd0
5 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
This directory contains pre-compiled extensions modules used to test completions
for compiled modules 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).

View File

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

6
test/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")
)

View File

@@ -9,7 +9,7 @@ import jedi
from .helpers import cwd_at
@cwd_at('extensions')
@cwd_at('test/extensions')
def test_compiled():
if platform.architecture()[0] == '64bit':
package_name = "compiled%s%s" % sys.version_info[:2]