From b93a2b73fe3c7a06879f65a8e45eb10d4ff4eb22 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 4 Apr 2009 12:28:01 -0400 Subject: [PATCH] use dist_dir option for sdist command --- pavement.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pavement.py b/pavement.py index 24c4341..b49c421 100644 --- a/pavement.py +++ b/pavement.py @@ -78,8 +78,8 @@ ), - packaging = Bunch( - outdir='~/Desktop', + sdist = Bunch( + dist_dir=os.path.expanduser('~/Desktop'), ), ) @@ -101,12 +101,7 @@ def remake_directories(*dirnames): def sdist(): """Create a source distribution. """ - # Move the output file to the desktop - dist_files = path('dist').glob('*.tar.gz') - dest_dir = path(options.packaging.outdir).expanduser() - for f in dist_files: - f.move(dest_dir) - return + pass @task def html():