from Cython.Compiler.UtilNodes import *
from Cython.Compiler.TreeFragment import TreeFragment, TemplateTransform
from Cython.Compiler.StringEncoding import EncodedString
- from Cython.Compiler.Errors import error, CompileError
- from Cython.Compiler import PyrexTypes
+ from Cython.Compiler.Errors import error, warning, CompileError
+ from Cython.Compiler import PyrexTypes, Naming
+
+
+try:
+ set
+except NameError:
+ from sets import Set as set
+
import copy
scripts = []
else:
if os.name == "posix":
- scripts = ["bin/cython"]
+ scripts = ["bin/cython", "bin/cygdb"]
else:
- scripts = ["cython.py"]
+ scripts = ["cython.py", "cygdb.py"]
- def compile_cython_modules(profile=False):
+ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnanny=False):
source_root = os.path.abspath(os.path.dirname(__file__))
compiled_modules = ["Cython.Plex.Scanners",
"Cython.Plex.Actions",