mirror of https://github.com/pypa/pip
Revert "🔥 Exterminate files that aren't Git-tracked"
This reverts commit 9c1a4d4c4d
.
This commit is contained in:
parent
9f92d3d465
commit
231ce2e36c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue