diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-06-06 14:04:04 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-06-06 14:04:04 -0700 |
commit | f0372ad11cc59e2b750fc3a3252f5ee3458ce623 (patch) | |
tree | 25f6944e44f8c26ca736e6da39a9ca0ad678491b /tasks.py | |
parent | c5febfa0176be1d230aabf6bb4ed94731a60e325 (diff) | |
parent | 2804b79cdeb2c140862d48883b7fdc105f05b95a (diff) |
Merge branch 'master' into 869-int
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,3 @@ -from os import mkdir from os.path import join from shutil import rmtree, copytree @@ -32,7 +31,7 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False): Wraps invocations.packaging.publish to add baked-in docs folder. """ # Build docs first. Use terribad workaround pending invoke #146 - ctx.run("inv docs") + ctx.run("inv docs", pty=True, hide=False) # Move the built docs into where Epydocs used to live target = 'docs' rmtree(target, ignore_errors=True) @@ -41,7 +40,9 @@ def release(ctx, sdist=True, wheel=True, sign=True, dry_run=False): # Publish publish(ctx, sdist=sdist, wheel=wheel, sign=sign, dry_run=dry_run) # Remind - print("\n\nDon't forget to update RTD's versions page for new minor releases!") + print("\n\nDon't forget to update RTD's versions page for new minor " + "releases!") + # TODO: "replace one task with another" needs a better public API, this is # using unpublished internals & skips all the stuff add_task() does re: |