From: Lisandro Dalcin Date: Tue, 5 Apr 2011 14:13:02 +0000 (-0300) Subject: fix MANIFEST.in and force MANIFEST generation in sdist command X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f63b94698e45b07370db3f43ac0df333c61e5bab;p=cython.git fix MANIFEST.in and force MANIFEST generation in sdist command --- diff --git a/MANIFEST.in b/MANIFEST.in index b061910c..239252e7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/setup.py b/setup.py index 7c52b7ef..cb4f996d 100644 --- 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