Files

21 lines
891 B
Diff
Raw Permalink Normal View History

2020-03-31 11:13:44 -04:00
--- install.py.orig 2020-03-25 12:26:08.000000000 -0400
+++ install.py 2020-04-01 07:49:00.000000000 -0400
2021-01-03 17:35:46 -05:00
@@ -198,17 +198,6 @@
2019-11-24 19:12:49 +01:00
def build_project(project, extra_args):
proj_dir = os.path.join(TOPDIR, project)
- # First ask distutils to clean up
- print("Cleaning {!r} using {!r}".format(project, sys.executable))
- status = subprocess.call([sys.executable, "setup.py", "clean"], cwd=proj_dir)
- if status != 0:
- print("Cleaning of {!r} failed, status {}".format(project, status))
- return False
-
- # Explicitly remove the 'build' directory, just in case...
- if os.path.exists(os.path.join(proj_dir, "build")):
- shutil.rmtree(os.path.join(proj_dir, "build"))
-
print("Installing {!r} using {!r}".format(project, sys.executable))
status = subprocess.call(
[sys.executable, "setup.py", "install"] + extra_args, cwd=proj_dir