Fix build_release.py with inexistent dist-dir.
This commit is contained in:
parent
129990857a
commit
eefc94fb4d
@ -150,7 +150,7 @@ def build_sdist():
|
|||||||
"""Build an sdist and list the contents."""
|
"""Build an sdist and list the contents."""
|
||||||
utils.print_title("Building sdist")
|
utils.print_title("Building sdist")
|
||||||
|
|
||||||
shutil.rmtree('dist')
|
_maybe_remove('dist')
|
||||||
|
|
||||||
subprocess.check_call([sys.executable, 'setup.py', 'sdist'])
|
subprocess.check_call([sys.executable, 'setup.py', 'sdist'])
|
||||||
dist_files = os.listdir(os.path.abspath('dist'))
|
dist_files = os.listdir(os.path.abspath('dist'))
|
||||||
|
Loading…
Reference in New Issue
Block a user