Revert "🔥 Exterminate files that aren't Git-tracked"

This reverts commit 9c1a4d4c4d.
This commit is contained in:
Sviatoslav Sydorenko 2020-01-25 13:17:29 +01:00
parent 9f92d3d465
commit 231ce2e36c
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 3 additions and 2 deletions

View File

@ -206,8 +206,9 @@ def build_release(session):
session.log("# Checkout the tag")
session.run("git", "checkout", version, external=True, silent=True)
session.log("# Wipe Git-untracked files before building the wheel")
session.run("git", "clean", "-fxd", external=True, silent=True)
session.log("# Cleanup build/ before building the wheel")
if release.have_files_in_folder("build"):
shutil.rmtree("build")
session.log("# Build distributions")
session.run("python", "setup.py", "sdist", "bdist_wheel", silent=True)