Commit f63b9469 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix MANIFEST.in and force MANIFEST generation in sdist command

parent 447791f5
...@@ -16,7 +16,7 @@ include Demos/embed/* ...@@ -16,7 +16,7 @@ include Demos/embed/*
include Demos/freeze/* include Demos/freeze/*
include Demos/libraries/* include Demos/libraries/*
include Demos/Makefile* include Demos/Makefile*
recursive-include Cython/Debugger/Tests/* recursive-include Cython/Debugger/Tests *
recursive-include Tools * recursive-include Tools *
recursive-include tests *.pyx *.pxd *.pxi *.py *.h *.BROKEN bugs.txt recursive-include tests *.pyx *.pxd *.pxi *.py *.h *.BROKEN bugs.txt
recursive-include tests *_lib.cpp *.srctree recursive-include tests *_lib.cpp *.srctree
......
...@@ -18,6 +18,7 @@ def add_command_class(name, cls): ...@@ -18,6 +18,7 @@ def add_command_class(name, cls):
from distutils.command.sdist import sdist as sdist_orig from distutils.command.sdist import sdist as sdist_orig
class sdist(sdist_orig): class sdist(sdist_orig):
def run(self): def run(self):
self.force_manifest = 1
if (sys.platform != "win32" and if (sys.platform != "win32" and
os.path.isdir('.git')): os.path.isdir('.git')):
assert os.system("git show-ref -s HEAD > .gitrev") == 0 assert os.system("git show-ref -s HEAD > .gitrev") == 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment