diff -Naur healpy-1.10.3/setup.py healpy-1.10.3.new/setup.py
--- healpy-1.10.3/setup.py 2016-11-08 17:15:57.000000000 +0100
+++ healpy-1.10.3.new/setup.py 2017-04-07 16:09:58.321108387 +0200
@@ -203,12 +203,7 @@
build_clib.finalize_options(self)
env = self.env()
- 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)
+ pass
def build_library(self, library, pkg_config_name, local_source=None, supports_non_srcdir_builds=True):
log.info("checking if library '%s' is installed", library)
@@ -317,12 +312,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):
@@ -412,12 +401,9 @@
packages=['healpy','healpy.test'],
libraries=[
('cfitsio', {
- 'pkg_config_name': 'cfitsio',
- 'local_source': 'cfitsio',
- 'supports_non_srcdir_builds': False}),
+ 'pkg_config_name': 'cfitsio'}),
('healpix_cxx', {
- 'pkg_config_name': 'healpix_cxx >= 3.30.0',
- 'local_source': 'healpixsubmodule/src/cxx/autotools'})
+ 'pkg_config_name': 'healpix_cxx >= 3.30.0'})
],
py_modules=['healpy.pixelfunc','healpy.sphtfunc',
'healpy.visufunc','healpy.fitsfunc',