summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
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: