Skip to content

Commit b93a2b7

Browse files
committed
use dist_dir option for sdist command
1 parent 66061c8 commit b93a2b7

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

pavement.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878

7979
),
8080

81-
packaging = Bunch(
82-
outdir='~/Desktop',
81+
sdist = Bunch(
82+
dist_dir=os.path.expanduser('~/Desktop'),
8383
),
8484

8585
)
@@ -101,12 +101,7 @@ def remake_directories(*dirnames):
101101
def sdist():
102102
"""Create a source distribution.
103103
"""
104-
# Move the output file to the desktop
105-
dist_files = path('dist').glob('*.tar.gz')
106-
dest_dir = path(options.packaging.outdir).expanduser()
107-
for f in dist_files:
108-
f.move(dest_dir)
109-
return
104+
pass
110105

111106
@task
112107
def html():

0 commit comments

Comments
 (0)