Skip to content

Commit

Permalink
REL: update Paver file to ensure sdist contents are OK for releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Oct 14, 2015
1 parent 972dbd0 commit 6587854
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6587854

Please sign in to comment.