summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-04 00:03:57 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-04 00:03:57 -0500
commit7dbb01c7054b7a79fb9e0f3fac9a18732d3fac13 (patch)
tree115a4e1125a5c6c7d98f83ab0d83e77a749b43d0 /tasks.py
parentf5ba7d5a60110ea7236492f66406f542a09d88a3 (diff)
parent2576b16b5439fd3487e498c21203593e10dbee52 (diff)
Merge branch 'master' into switch-to-cryptography
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 3d55a778..d2bed606 100644
--- a/tasks.py
+++ b/tasks.py
@@ -25,7 +25,10 @@ def coverage(ctx):
# Until we stop bundling docs w/ releases. Need to discover use cases first.
@task
-def release(ctx):
+def release(ctx, sdist=True, wheel=True):
+ """
+ Wraps invocations.packaging.release to add baked-in docs folder.
+ """
# Build docs first. Use terribad workaround pending invoke #146
ctx.run("inv docs")
# Move the built docs into where Epydocs used to live
@@ -34,7 +37,7 @@ def release(ctx):
# TODO: make it easier to yank out this config val from the docs coll
copytree('sites/docs/_build', target)
# Publish
- publish(ctx)
+ publish(ctx, sdist=sdist, wheel=wheel)
# Remind
print("\n\nDon't forget to update RTD's versions page for new minor releases!")