summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-06-06 14:04:04 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-06-06 14:04:04 -0700
commitf0372ad11cc59e2b750fc3a3252f5ee3458ce623 (patch)
tree25f6944e44f8c26ca736e6da39a9ca0ad678491b /tasks.py
parentc5febfa0176be1d230aabf6bb4ed94731a60e325 (diff)
parent2804b79cdeb2c140862d48883b7fdc105f05b95a (diff)
Merge branch 'master' into 869-int
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tasks.py b/tasks.py
index 61319aa9..42c18bd0 100644
--- a/tasks.py
+++ b/tasks.py
@@ -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: