You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
21 lines
891 B
Diff
21 lines
891 B
Diff
--- install.py.orig 2020-03-25 12:26:08.000000000 -0400
|
|
+++ install.py 2020-04-01 07:49:00.000000000 -0400
|
|
@@ -198,17 +198,6 @@
|
|
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
|