about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/datatable/remove-compiler-monkeypatch_disable-native-relocation.patch
blob: 7cdbfa9072416b08fa7063ae7740d05dd9e8fb9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/setup.py b/setup.py
index 58fc875..8032561 100644
--- a/setup.py
+++ b/setup.py
@@ -141,23 +141,6 @@ if cmd in ("build", "bdist_wheel", "build_ext", "install"):
     extra_link_args = get_extra_link_args()
     cpp_files = get_c_sources("c")
 
-    with TaskContext("Copy dynamic libraries") as log:
-        # Copy system libraries into the datatable/lib folder, so that they can
-        # be packaged with the wheel
-        libs = find_linked_dynamic_libraries()
-        for libpath in libs:
-            trgfile = os.path.join("datatable", "lib",
-                                   os.path.basename(libpath))
-            if os.path.exists(trgfile):
-                log.info("File %s already exists, skipped" % trgfile)
-            else:
-                log.info("Copying %s to %s" % (libpath, trgfile))
-                shutil.copy(libpath, trgfile)
-
-    if ismacos():
-        monkey_patch_compiler()
-
-
 # Create the git version file
 if cmd in ("build", "sdist", "bdist_wheel", "install"):
     make_git_version_file(True)