https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision b4ac411f98e086ddc5986295bba30099e314204f authored by Bryna Hazelton on 31 March 2017, 19:01:24 UTC, committed by Bryna Hazelton on 14 April 2017, 19:13:30 UTC
1 parent 5f6e779
Raw File
Tip revision: b4ac411f98e086ddc5986295bba30099e314204f authored by Bryna Hazelton on 31 March 2017, 19:01:24 UTC
tweak since the code isn't inside setup.py anymore
Tip revision: b4ac411
setup.py
from setuptools import setup
import glob
import os.path as op
from os import listdir
import subprocess

setup_args = {
    'name': 'pyuvdata',
    'author': 'HERA Team',
    'url': 'https://github.com/HERA-Team/pyuvdata',
    'license': 'BSD',
    'description': 'an interface for astronomical interferometeric datasets in python',
    'package_dir': {'pyuvdata': 'pyuvdata', 'uvdata': 'uvdata'},
    'packages': ['pyuvdata', 'uvdata'],
    'scripts': glob.glob('scripts/*'),
    'version': open('VERSION').read().strip(),
    'package_data': {'pyuvdata': [f for f in listdir('./pyuvdata/data') if op.isfile(op.join('./pyuvdata/data', f))]},
    'install_requires': ['numpy>=1.10', 'scipy', 'astropy>=1.2', 'pyephem', 'aipy'],
    'classifiers': ['Development Status :: 5 - Production/Stable',
                    'Intended Audience :: Science/Research',
                    'License :: OSI Approved :: BSD License',
                    'Programming Language :: Python :: 2.7',
                    'Topic :: Scientific/Engineering :: Astronomy'],
    'keywords': 'radio astronomy interferometry'
}

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