diff options
-rw-r--r-- | MANIFEST.in | 1 | ||||
-rwxr-xr-x | scripts/mkrelease.py | 9 |
2 files changed, 3 insertions, 7 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index a78ca8d..a1ddaf0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -10,3 +10,4 @@ graft doc graft examples graft unit_tests graft functional_tests +prune doc/.build diff --git a/scripts/mkrelease.py b/scripts/mkrelease.py index b5c4e84..4c0effb 100755 --- a/scripts/mkrelease.py +++ b/scripts/mkrelease.py @@ -39,7 +39,7 @@ def main(): tag = 'release_%s' % version # create tag - runcmd("hg tag -m 'Tagged release %s' %s" % + runcmd("hg tag -fm 'Tagged release %s' %s" % (version, tag)) # clone a fresh copy @@ -53,16 +53,11 @@ def main(): # build included docs cd('doc') - runcmd('make man readme') + runcmd('make man readme html') cd('..') # make the distribution runcmd('python setup.py sdist') - - # make the docs (don't want these included in sdist) - cd('doc') - runcmd('make html') - cd('..') # upload docs and distribution if 'NOSE_UPLOAD' in os.environ: |