source: TI12-security/trunk/NDG_XACML_old/setup.py @ 6594

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDG_XACML_old/setup.py@7075
Revision 6594, 2.0 KB checked in by pjkersha, 10 years ago (diff)

Added setup files for egg creation.

Line 
1#!/usr/bin/env python
2
3"""Distribution Utilities setup program for NDG XACML Package
4
5NERC DataGrid Project
6"""
7__author__ = "P J Kershaw"
8__date__ = "19/02/10"
9__copyright__ = "(C) 2010 Science and Technology Facilities Council"
10__license__ = "BSD - see LICENSE file in top-level directory"
11__contact__ = "Philip.Kershaw@stfc.ac.uk"
12__revision__ = '$Id: $'
13
14# Bootstrap setuptools if necessary.
15from ez_setup import use_setuptools
16use_setuptools()
17
18from setuptools import setup, find_packages
19
20import os, sys
21
22# Packages needed for NDG Security
23# Note commented out ones fail with PyPI - use explicit link instead
24# TODO: subdivide these into server and client specific and comon dependencies
25_pkgDependencies = []
26
27# Python 2.5 includes ElementTree by default
28if sys.version_info[0:2] < (2, 5):
29    _pkgDependencies += ['ElementTree', 'cElementTree']
30
31_longDescription = """XACML Python implementation adapted from Sun's Java XACML
32"""
33
34setup(
35    name =                      'NDG_XACML',
36    version =                   '0.1',
37    description =           'NERC DataGrid XACML package',
38    long_description =          _longDescription,
39    author =                    'Philip Kershaw',
40    author_email =              'Philip.Kershaw@stfc.ac.uk',
41    maintainer =                'Philip Kershaw',
42    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
43    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
44    license =               'BSD - See LICENCE file for details',
45    install_requires =          _pkgDependencies,
46    dependency_links =          ["http://ndg.nerc.ac.uk/dist"],
47    packages =                  find_packages(),
48    namespace_packages =        ['ndg'],
49    # This flag will include all files under SVN control or included in
50    # MANIFEST.in.
51    #include_package_data =     True,
52    # Finer grained control of data file inclusion can be achieved with
53    # these parameters.  See the setuptools docs.
54    #package_data =             {}
55    #exclude_package_data =     {}
56    entry_points =         None,
57    test_suite =                   'ndg.xacml.test',
58    zip_safe =             False
59)
Note: See TracBrowser for help on using the repository browser.