Commit 99f0146e authored by Robert Bradshaw's avatar Robert Bradshaw

Deprecate language as a special cythonize argument.

parent 2c32a61f
......@@ -634,6 +634,8 @@ def create_dependency_tree(ctx=None, quiet=False):
# This may be useful for advanced users?
def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet=False, language=None,
exclude_failures=False):
if language is not None:
print('Please put "# distutils: langauge=%s" in your .pyx or .pxd file(s)' % language)
if exclude is None:
exclude = []
if not isinstance(patterns, (list, tuple)):
......
......@@ -10,11 +10,13 @@ from Cython.Build.Dependencies import cythonize
from distutils.core import setup
setup(
ext_modules = cythonize("*.pyx", language='c++'),
ext_modules = cythonize("*.pyx"),
)
######## a.pyx ########
# distutils: language=c++
from libcpp.vector cimport vector
def use_vector(L):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment