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 29 30
|
from distutils.core import Extension, setup
# define the extension module
_wsclean = Extension(
"_wsclean",
sources=["_wsclean.c"],
libraries=[
"../build/wsclean-shared",
"casa_ms",
"casa_tables",
"casa_casa",
"casa_measures",
"casa_fits",
"fftw3",
"fftw3_threads",
"boost_date_time",
"boost_system",
"boost_thread",
"boost_filesystem",
"boost_program_options",
"cfitsio",
"gsl",
"/usr/lib/x86_64-linux-gnu/hdf5/serial/hdf5",
"/usr/lib/x86_64-linux-gnu/hdf5/serial/hdf5_cpp",
"/home/anoko/Software/LOFARBeam-install/lib/stationresponse",
],
)
# run the setup
setup(ext_modules=[_wsclean])
|