Commit e510060a authored by Robert Bradshaw's avatar Robert Bradshaw Committed by Stefan Behnel

Even more clarification on cythonize().

parent f21bf0f0
...@@ -79,7 +79,8 @@ If you have include files in non-standard places you can pass an ...@@ -79,7 +79,8 @@ If you have include files in non-standard places you can pass an
) )
If you need to specify compiler options, libraries to link with or other linker If you need to specify compiler options, libraries to link with or other linker
options you will need to create ``Extension`` instances manually:: options you will need to create ``Extension`` instances manually (note
that glob syntax can still be used to specify multiple extensions in one line)::
from distutils.core import setup from distutils.core import setup
from distutils.extension import Extension from distutils.extension import Extension
...@@ -90,7 +91,8 @@ options you will need to create ``Extension`` instances manually:: ...@@ -90,7 +91,8 @@ options you will need to create ``Extension`` instances manually::
include_dirs = [...], include_dirs = [...],
libraries = [...], libraries = [...],
library_dirs = [...]), library_dirs = [...]),
Extension("spam", ["spam.pyx"], # Everything but primes.pyx is included here.
Extension("*", ["*.pyx"],
include_dirs = [...], include_dirs = [...],
libraries = [...], libraries = [...],
library_dirs = [...]), library_dirs = [...]),
......
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