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

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

python/ndg.security.server/setup.py: tidied up package dependencies list

python/ndg.security.server/ndg/security/server/MyProxy.py: replaced old ref to
self.env with os.environ

python/ndg.security.common/setup.py:

  • made ElementTree install dependent on Python version - 2.5 doesn't need it
  • tidied up package dependencies list

python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml:
set useSSL to False.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg:
connect to local service.

  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2
3"""Distribution Utilities setup program for NDG Security Server Package
4
5NERC Data Grid Project
6
7P J Kershaw 24/04/06
8
9Copyright (C) 2007 CCLRC & NERC
10
11This software may be distributed under the terms of the Q Public License,
12version 1.0 or later.
13"""
14# Bootstrap setuptools if necessary.
15from ez_setup import use_setuptools
16use_setuptools()
17
18from setuptools import setup, find_packages
19
20import os
21
22reposID = "$Id:$"
23
24# Packages needed for NDG Security
25# Note commented out ones fail with PyPI - use explicit link instead
26# TODO: subdivide these into server and client specific and comon dependencies
27_pkgDependencies = [
28    'pycrypto',
29#    'MySQL-python', - gcc: unrecognized option `-restrict'
30]
31
32# Sledge hammer approach needed with some packages as they won't install from their PyPI name -
33# instead give the explicit URL.  This may cause problems later!
34_pkgDependencyLinks = [
35    "http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-3.0.1.tgz",
36#    "http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2",
37#    "http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2",
38]
39
40import pdb;pdb.set_trace()
41
42_entryPoints = None
43
44setupKw = \
45{
46    'name':                     'ndg.security.server',
47    'version':                  '0.7.2',
48    'description':              'NERC DataGrid Security Services',
49    'long_description':         'Server side component for securing NDG resources',
50    'author':                   'Philip Kershaw',
51    'author_email':             'P.J.Kershaw@rl.ac.uk',
52    'maintainer':               'Philip Kershaw',
53    'maintainer_email':         'P.J.Kershaw@rl.ac.uk',
54    'url':                      'http://proj.badc.rl.ac.uk/ndg',
55    'install_requires':         _pkgDependencies,
56    'dependency_links':         _pkgDependencyLinks,
57    'packages':                     find_packages(),
58    'namespace_packages':       ['ndg', 'ndg.security'],
59    # This flag will include all files under SVN control or included in
60    # MANIFEST.in.
61    #'include_package_data':    True,
62    # Finer grained control of data file inclusion can be achieved with
63    # these parameters.  See the setuptools docs.
64    'package_data': {'ndg.security.server.conf':['*.xml']},
65    #'exclude_package_data':    {}
66    'entry_points':        _entryPoints,
67    'test_suite':                  'ndg.security.test',
68    'zip_safe':            False
69}
70setup(**setupKw)
Note: See TracBrowser for help on using the repository browser.