From 6587854828a31ea873499a171af9b794cd0b8b17 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 14 Oct 2015 23:22:00 +0200 Subject: [PATCH] REL: update Paver file to ensure sdist contents are OK for releases. --- pavement.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pavement.py b/pavement.py index acceed0ade4a..f4b1b2b1672e 100644 --- a/pavement.py +++ b/pavement.py @@ -549,8 +549,16 @@ def tarball_name(type='gztar'): @task def sdist(options): + # First clean the repo and update submodules (for up-to-date doc html theme + # and Sphinx extensions) + sh('git clean -xdf') + sh('git submodule init') + sh('git submodule update') + # To be sure to bypass paver when building sdist... paver + numpy.distutils # do not play well together. + # Cython is run over all Cython files in setup.py, so generated C files + # will be included. sh('python setup.py sdist --formats=gztar,zip') # Copy the superpack into installers dir