https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision 0ada8a4cadafe45f0aad47a3efb72227f3b0797f authored by Bryna Hazelton on 31 July 2017, 23:34:15 UTC, committed by Bryna Hazelton on 04 August 2017, 16:59:10 UTC
1 parent 2e7e6d6
Raw File
Tip revision: 0ada8a4cadafe45f0aad47a3efb72227f3b0797f authored by Bryna Hazelton on 31 July 2017, 23:34:15 UTC
Fix antenna positions to match file conventions (issue #169)
Tip revision: 0ada8a4
setup.py
from setuptools import setup
import glob
import os.path as op
from os import listdir
from pyuvdata import version
import json

data = [version.git_origin, version.git_hash, version.git_description, version.git_branch]
with open(op.join('pyuvdata', 'GIT_INFO'), 'w') as outfile:
    json.dump(data, outfile)

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'},
    'packages': ['pyuvdata', 'pyuvdata.tests'],
    'scripts': glob.glob('scripts/*'),
    'version': version.version,
    'include_package_data': True,
    '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