source: TI12-security/trunk/python/ndg.security.server/setup.py @ 2937

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/setup.py@2937
Revision 2937, 3.5 KB checked in by pjkersha, 14 years ago (diff)

ndg.security.server.MyProxy?: added CmdLineClient? class for MyProxy? client script. Part complete.

  • Property svn:executable set to *
  • Property svn:keywords set to Id
Line 
1#!/usr/bin/env python
2"""Distribution Utilities setup program for NDG Security Server Package
3
4NERC Data Grid Project
5"""
6__author__ = "P J Kershaw"
7__date__ = "24/04/06"
8__copyright__ = "(C) 2007 STFC & NERC"
9__license__ = \
10"""This software may be distributed under the terms of the Q Public
11License, version 1.0 or later."""
12__contact__ = "P.J.Kershaw@rl.ac.uk"
13__revision__ = '$Id$'
14
15# Bootstrap setuptools if necessary.
16from ez_setup import use_setuptools
17use_setuptools()
18
19from setuptools import setup, find_packages
20
21import os
22
23__revision__ = "$Id$"
24
25# Packages needed for NDG Security
26# Note commented out ones fail with PyPI - use explicit link instead
27# TODO: subdivide these into server and client specific and comon dependencies
28_pkgDependencies = [
29    'ndg_security_common',
30   
31    # Zope interface
32    'zope.interface'
33]
34
35# Make a script interface to MyProxy client
36_entryPoints = {'console_scripts': \
37                ['myproxy-client = ndg.security.server.MyProxy:main']}
38   
39setup(
40    name =                      'ndg_security_server',
41    version =                   '0.8.5',
42    description =               'NERC DataGrid Security Services',
43    long_description =          'Server side component for securing NDG resources',
44    author =                    'Philip Kershaw',
45    author_email =              'P.J.Kershaw@rl.ac.uk',
46    maintainer =                'Philip Kershaw',
47    maintainer_email =          'P.J.Kershaw@rl.ac.uk',
48    url =                       'http://proj.badc.rl.ac.uk/ndg',
49    license =               'Q Public License, version 1.0 or later',
50    install_requires =          _pkgDependencies,
51   
52    # Set ndg.security.common dependency.  Also, sledge hammer approach needed
53    # with some packages as they won't install from their PyPI name - instead give
54    # the explicit URL.  This may cause problems later!
55    dependency_links = [
56        "http://ndg.nerc.ac.uk/dist",
57       
58        # Zope Interface
59        "http://www.zope.org/Products/ZopeInterface/" 
60        ],
61
62    # These will have to be installed manually - they won't currently 'eggify'
63    #    http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2
64    #    http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2
65
66    packages =                      find_packages(),
67    namespace_packages =        ['ndg', 'ndg.security'],
68    package_data =          {'ndg.security.server.conf': ['*.xml', 
69                                                          '*.py',
70                                                          '*.tac',
71                                                          '*.cfg',
72                                                          '*.conf'],                                               
73                             'ndg.security.server.conf.certs': ['*'],
74                             'ndg.security.server.conf.attCert': ['*'],
75                             'ndg.security.server.share': ['*'],
76                             'ndg.security.server.AttAuthority': ['*.sh'],
77                             'ndg.security.server.SessionMgr': ['*.sh'],
78                             'ndg.security.server.ca': ['*.sh']},
79    entry_points =           _entryPoints,
80#    data_files =            [('share',
81#                              [os.path.join('share', 'ndg-aa'),
82#                               os.path.join('share', 'ndg-ca'),
83#                               os.path.join('share', 'ndg-gk'),
84#                               os.path.join('share', 'ndg-log'),
85#                               os.path.join('share', 'ndg-sm')])
86#                              ],
87    test_suite =                    'ndg.security.test',
88    zip_safe =              False
89)
Note: See TracBrowser for help on using the repository browser.