summaryrefslogtreecommitdiff
path: root/pavement.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-03-28 11:11:54 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-03-28 11:11:54 +0000
commitffaeb861538c7fa41077e51a70e6b52c7b6ee0a1 (patch)
treeb5f6894b951ee1b0324bc49be0fa74184860f6a7 /pavement.py
parentc7927eb658b9616b42368e9496cb0304bdd2e4ae (diff)
downloadnumpy-ffaeb861538c7fa41077e51a70e6b52c7b6ee0a1.tar.gz
Add a task to write notes and changelog once the installers are ready.
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pavement.py b/pavement.py
index 55ba9ae41..cb900fd71 100644
--- a/pavement.py
+++ b/pavement.py
@@ -92,7 +92,8 @@ BOOTSTRAP_SCRIPT = "%s/bootstrap.py" % BOOTSTRAP_DIR
DMG_CONTENT = paver.path.path('numpy-macosx-installer') / 'content'
# Where to put the final installers, as put on sourceforge
-INSTALLERS_DIR = 'release/installers'
+RELEASE_DIR = 'release'
+INSTALLERS_DIR = os.path.join(RELEASE_DIR, 'installers')
options(sphinx=Bunch(builddir="build", sourcedir="source", docroot='doc'),
virtualenv=Bunch(script_name=BOOTSTRAP_SCRIPT),
@@ -447,3 +448,8 @@ def simple_dmg():
image.remove()
cmd = ["hdiutil", "create", image_name, "-srcdir", str(builddir)]
sh(" ".join(cmd))
+
+@task
+def write_note_changelog():
+ write_release_task(os.path.join(RELEASE_DIR, 'NOTES.txt'))
+ write_log_task(os.path.join(RELEASE_DIR, 'Changelog'))