From f63b94698e45b07370db3f43ac0df333c61e5bab Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Tue, 5 Apr 2011 11:13:02 -0300 Subject: [PATCH] fix MANIFEST.in and force MANIFEST generation in sdist command --- MANIFEST.in | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2