Partial merge of trunk progress. Some tests still fail.
[cython.git] / setup.py
index 7c52b7ef73809400f3fc53ada6f7eea21bc85d61..782dea25edf0bd376c7809fceb1e68fe6b30dec1 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ def add_command_class(name, cls):
 from distutils.command.sdist import sdist as sdist_orig
 class sdist(sdist_orig):
     def run(self):
+        self.force_manifest = 1
         if (sys.platform != "win32" and 
             os.path.isdir('.git')):
             assert os.system("git show-ref -s HEAD > .gitrev") == 0
@@ -248,7 +249,11 @@ except ValueError:
 
 try:
     sys.argv.remove("--no-cython-compile")
+    compile_cython_itself = False
 except ValueError:
+    compile_cython_itself = True
+
+if compile_cython_itself:
     compile_cython_modules(cython_profile, cython_compile_more, cython_with_refnanny)
 
 setup_args.update(setuptools_extra_args)