From 1b00153de11a60237569b5bc7f1e19d33a6f93ef Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Mon, 11 Feb 2019 18:59:53 +0000 Subject: [PATCH] Remove unneeded setup_package.py files --- astropy/wcs/setup_package.py | 42 ------------------------------------ 1 file changed, 42 deletions(-) diff --git a/astropy/wcs/setup_package.py b/astropy/wcs/setup_package.py index 3729dd33bc96..9397bdadf23e 100644 --- a/astropy/wcs/setup_package.py +++ b/astropy/wcs/setup_package.py @@ -299,47 +299,5 @@ def get_extensions(): return [Extension(str('astropy.wcs._wcs'), **cfg)] -def get_package_data(): - # Installs the testing data files - api_files = [ - 'astropy_wcs.h', - 'astropy_wcs_api.h', - 'distortion.h', - 'isnan.h', - 'pipeline.h', - 'pyutil.h', - 'sip.h', - 'util.h', - 'wcsconfig.h', - ] - api_files = [join('include', 'astropy_wcs', x) for x in api_files] - api_files.append(join('include', 'astropy_wcs_api.h')) - - wcslib_headers = [ - 'cel.h', - 'lin.h', - 'prj.h', - 'spc.h', - 'spx.h', - 'tab.h', - 'wcs.h', - 'wcserr.h', - 'wcsmath.h', - 'wcsprintf.h', - ] - if not setup_helpers.use_system_library('wcslib'): - for header in wcslib_headers: - source = join('cextern', 'wcslib', 'C', header) - dest = join('astropy', 'wcs', 'include', 'wcslib', header) - if newer_group([source], dest, 'newer'): - shutil.copy(source, dest) - api_files.append(join('include', 'wcslib', header)) - - return { - str('astropy.wcs.tests'): ['extension/*.c'], - str('astropy.wcs'): api_files, - } - - def get_external_libraries(): return ['wcslib']