fix MANIFEST.in and force MANIFEST generation in sdist command
authorLisandro Dalcin <dalcinl@gmail.com>
Tue, 5 Apr 2011 14:13:02 +0000 (11:13 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Tue, 5 Apr 2011 14:13:02 +0000 (11:13 -0300)
MANIFEST.in
setup.py

index b061910c6895b9a54f5890620bf6b1bb206b2a3a..239252e72b893e818ee944e3ca8a9bb04d1ae873 100644 (file)
@@ -16,7 +16,7 @@ include Demos/embed/*
 include Demos/freeze/*
 include Demos/libraries/*
 include Demos/Makefile*
-recursive-include Cython/Debugger/Tests/*
+recursive-include Cython/Debugger/Tests *
 recursive-include Tools *
 recursive-include tests *.pyx *.pxd *.pxi *.py *.h *.BROKEN bugs.txt
 recursive-include tests *_lib.cpp *.srctree
index 7c52b7ef73809400f3fc53ada6f7eea21bc85d61..cb4f996dd241e9fb0d60e1f2702a9e105a82ec4e 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