forked from schwehr/noaadata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·86 lines (73 loc) · 3.15 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env python
__version__ = '$Revision: 10404 $'.split()[1]
__date__ = '$Date: 2008-09-24 22:45:05 -0400 (Wed, 24 Sep 2008) $'.split()[1]
__author__ = 'Kurt Schwehr'
__copyright__ = '2006-2008'
__version__=file('VERSION').readline().strip()
__license__ = 'GPL v3'
__contact__ = 'kurt at ccom.unh.edu'
__doc__= '''
Distutils setup script for the Automatic Identification System tools.
@var __date__: Date of last svn commit
@undocumented: __doc__
@since: Fall 2006
@status: under development
@organization: U{CCOM<http://ccom.unh.edu/>}
@requires: U{Python<http://python.org/>} >= 2.5
@requires: U{epydoc<http://epydoc.sourceforge.net/>} >= 3.0.1
@requires: U{psycopg2<http://http://initd.org/projects/psycopg2/>} >= 2.0.6
@todo: Get all the requires in here
@todo: Allow ezsetup/setuptools support
@todo: Does this need to set the interpreter for all scripts on setup?
@todo: Could use feedback on my coding template
@see: doc/template.py for coding template
'''
from distutils.core import setup
# Setuptools / eggs, etc.
#from setuptools import setup
url='http://vislab-ccom.unh.edu/~schwehr/software/noaadata'
download_url=url+'/downloads/noaadata-py-'+__version__+'.tar.bz2'
print download_url
import glob
SCRIPTS=glob.glob('scripts/*')
'List of files that are executable and that need to be installed in the bin folder/path'
if __name__=='__main__':
setup(name='noaadata-py',
version=__version__,
author=__author__,
author_email='[email protected]',
maintainer='Kurt Schwehr',
maintainer_email='[email protected]',
url=url,
download_url=download_url,
description='Encode/decode NOAA co-ops marine data and marine AIS',
long_description='''Library for handling marine Automatic Identification System (AIS)
messages and NOAA marine data messages from http://opendap.co-ops.nos.noaa.gov/axis/.
Has extensions to handle the USCG N-AIS receive fields. The SOAP code is a bit rusty and now
uses pydap.
For AIS ship traffic, noaadata provides bridges to sqlite3 and
postgresql/postgis databases. Is able to generate Google Earth KML
files for AIS.
Part of the UNH/NOAA Chart of the Future project.
Still in development. Some rough edges.
''',
license=__license__,
keywords='axis, soap, marine, NOAA, AIS, N-AIS, binary messages, NMEA',
platforms='All platforms',
classifiers=[
'Topic :: System :: Networking',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Communications',
'Topic :: Database',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Code Generators',
'Topic :: Scientific/Engineering :: GIS',
],
packages=['noaadata','ais','aisutils','nmea'],
scripts=SCRIPTS,
)