-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 1016 Bytes
/
setup.py
File metadata and controls
30 lines (27 loc) · 1016 Bytes
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
import os
import numpy as np
from numpy.distutils.core import setup
from numpy.distutils.core import Extension
__version__ = '0.1'
ext = Extension(name='estimator',
sources=['pyspectrum/estimator.f'],
language='f77',
library_dirs = ["/usr/local/lib"],
libraries = ['fftw3f'],
include_dirs=[np.get_include(), '/usr/local/include'],
extra_f77_compile_args=['-fcheck=all', '-fallow-argument-mismatch'])
if __name__=="__main__":
setup(name = 'pySpectrum',
version = __version__,
description = 'TBD',
author='ChangHoon Hahn',
author_email='changhoon.hahn@utexas.edu',
url='',
package_data={'pyspectrum': ['dat/fftw3.f', 'dat/*.pyfftw', 'dat/test_box.hdf5']},
platforms=['*nix'],
license='GPL',
requires = ['numpy', 'scipy', 'h5py', 'pyfftw', 'pytest'],
provides = ['pyspectrum'],
packages = ['pyspectrum'],
ext_modules = [ext]
)