-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
executable file
·35 lines (31 loc) · 1.29 KB
/
setup.py
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
31
32
33
34
from distutils.core import setup, Extension
import os, sys, glob
__version__ = '0.7.3'
katcp_prefix = '/'
if os.environ.has_key('VIRTUAL_ENV'):
katcp_prefix = os.environ['VIRTUAL_ENV']
setup(name = 'corr',
version = __version__,
description = 'Interfaces to CASPER correlators',
long_description = 'Provides interfaces to CASPER hardware and functions to configure packetised FX correlators and co-located beamformers.',
license = 'GPL',
author = 'Jason Manley',
author_email = 'jason_manley at hotmail.com',
url = 'http://pypi.python.org/pypi/corr',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=['katcp', 'matplotlib', 'iniparse', 'numpy', 'spead', 'construct', 'h5py'],
provides=['corr'],
package_dir = {'corr':'src'},
packages = ['corr'],
scripts=glob.glob('scripts/*'),
data_files=[(os.path.join(katcp_prefix, 'etc/corr'),['etc/default']),
#('/var/run/corr',['support_files/sync_time'])
]
)