Blob Blame History Raw
diff -Naur healpy-1.12.0/setup.py healpy-1.12.0.new/setup.py
--- healpy-1.12.0/setup.py	2018-06-12 22:58:59.000000000 +0200
+++ healpy-1.12.0.new/setup.py	2018-06-19 10:20:02.132825605 +0200
@@ -216,19 +216,8 @@
         configure script."""
         build_clib.finalize_options(self)
         env = self.env()
+        pass
 
-        for lib_name, build_info in self.libraries:
-            if "sources" not in build_info:
-                log.info(
-                    "checking if configure script for library '%s' exists", lib_name
-                )
-                if not os.path.exists(
-                    os.path.join(build_info["local_source"], "configure")
-                ):
-                    log.info("running 'autoreconf -i' for library '%s'", lib_name)
-                    check_call(
-                        ["autoreconf", "-i"], cwd=build_info["local_source"], env=env
-                    )
 
     def build_library(
         self,
@@ -356,12 +345,6 @@
         the 'local_sources' value are returned."""
         self.check_library_list(self.libraries)
         filenames = []
-        for (lib_name, build_info) in self.libraries:
-            sources = build_info.get("sources")
-            if sources is None or not isinstance(sources, (list, tuple)):
-                sources = list(self._list_files_recursive(build_info["local_source"]))
-
-            filenames.extend(sources)
         return filenames
 
     def build_libraries(self, libraries):
@@ -451,15 +434,12 @@
             "cfitsio",
             {
                 "pkg_config_name": "cfitsio",
-                "local_source": "cfitsio",
-                "supports_non_srcdir_builds": False,
             },
         ),
         (
             "healpix_cxx",
             {
                 "pkg_config_name": "healpix_cxx >= 3.30.0",
-                "local_source": "healpixsubmodule/src/cxx/autotools",
             },
         ),
     ],