source: TI02-CSML/trunk/services/3rdParty/GeoTypes-0.6.0/setup.py @ 2194

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/services/3rdParty/GeoTypes-0.6.0/setup.py@2194
Revision 2194, 1.6 KB checked in by lawrence, 13 years ago (diff)

Adding various specs and 3rd party code of interest for the CSML
services development.

Line 
1#!/usr/local/bin/python
2
3################################################################################
4# Copyright (c) QinetiQ Plc 2003
5#
6# Licensed under the LGPL. For full license details see the LICENSE file.
7################################################################################
8
9
10"""
11
12To use this setup script to install GeoTypes:
13
14        cd GeoTypes-version
15        python setup.py install
16
17"""
18
19import sys
20import os
21import tempfile
22
23from distutils.core import setup
24from distutils import sysconfig
25
26
27if __name__ == '__main__' :
28    DOC_FILES = ('LICENSE', 'NEWS', 'INSTALL', 'README', 'VERSION',
29                 'KNOWN_BUGS', 'AUTHORS', 'TODO')
30   
31    LONG_DESCRIPTION = \
32"""
33GeoTypes
34
35A package of classes for working with basic 2d geometric types.
36
37These classes were designed for use with the geometric functions
38supported by Postgresql (http://www.postgresql.com) although they
39do not need Postgresql to be present for them to be used.
40"""
41
42    install_dir = sysconfig.get_python_lib() + os.sep + 'GeoTypes'
43
44    setup(name                  = "GeoTypes",
45          version               = "0.6.0",
46          license               = "LGPL",
47          description           = "Classes for working with basic 2d geometric types",
48          author                = "Richard Taylor, QinetiQ Plc.",
49          author_email          = "r.taylor@eris.qinetiq.com",
50          url                   = "http://",
51          packages              = [ 'GeoTypes' ],
52          data_files            = [ (install_dir, DOC_FILES) ],
53          long_description      = LONG_DESCRIPTION
54         )
55
56
Note: See TracBrowser for help on using the repository browser.