Revision e91cb9e1423bb4e6d2ee6b3a24f838be695e65aa authored by Aaron Ewall-Wice on 22 December 2016, 13:52:30 UTC, committed by Aaron Ewall-Wice on 12 January 2017, 16:01:46 UTC
1 parent 9690573
Raw File
setup.py
from setuptools import setup
import glob
import os.path as op
from os import listdir

__version__ = '1.0'

setup_args = {
    'name': 'uvdata',
    'author': 'HERA Team',
    'license': 'BSD',
    'package_dir': {'uvdata': 'uvdata'},
    'packages': ['uvdata'],
    'scripts': glob.glob('scripts/*'),
    'version': __version__,
    'package_data': {'uvdata': [f for f in listdir('./uvdata/data') if op.isfile(op.join('./uvdata/data', f))]},
    # note pyfits is only a dependency because it is an aipy dependency.
    # It should be removed when aipy is.
    'install_requires': ['numpy>=1.10', 'scipy', 'astropy>=1.2', 'pyephem', 'pyfits', 'aipy']
}

if __name__ == '__main__':
    apply(setup, (), setup_args)
back to top