source: TI12-security/trunk/python/ndg.security.client/setup.py @ 2270

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

Replaced

reposID = '$Id$'

with,

revision = '$Id$'

for all relevant files.

ndg.security.server/setup.py:

  • added license keyword to setup

ndg.security.server/ndg/security/server/AttAuthority/init.py:

  • removed refs to proxy certificate in getattCert call. Input cert may not necessarily be a proxy.

ndg.security.common/setup.py: Major fixes to give *working* version.

  • PyXML dependency to ZSI fixed by giving explict sourceforge dependency link
  • Get ZSI from PyPI insteads of Sourceforge
  • Moved SQLObject and MySQL dependency to a separate if clause. This will be completed later to

allow inclusion of these on provision of a given option

  • added license keyword to setup.
  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2
3"""Distribution Utilities setup program for NDG Security Package
4
5NERC Data Grid Project
6
7P J Kershaw 24/04/06
8
9Copyright (C) 2006 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
22__revision__ = "$Id$"
23
24# Get latest SubVersion revision for use with release ID
25_svnRev = "$Revision$"
26if "Revision" in _svnRev:
27    _version = 'DevPostAlpha'
28else:
29    _version = "DevPostAlpha-" + _svnRev
30
31# Packages needed for NDG Security
32# Note commented out ones fail with PyPI - use explicit link instead
33# TODO: subdivide these into server and client specific and comon dependencies
34_pkgDependencies = [
35    'ElementTree',
36    'cElementTree',
37#    'm2crypto', # build fails - find way to make it link with /usr/local/NDG openssl installation
38    'ZSI',
39#    '4Suite', don't need to include it as ZSI egg will get this instead
40#    'Twisted',
41#    'TwistedWeb',
42#    'ZopeInterface',
43    'pycrypto',
44    'SQLObject',
45#    'MySQL-python', - gcc: unrecognized option `-restrict'
46#    'PyXMLSec',
47#    'PyXML'
48]
49
50# Sledge hammer approach needed with some packages as they won't install from their PyPI name -
51# instead give the explicit URL.  This may cause problems later!
52_pkgDependencyLinks = [
53    "http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-3.0.1.tgz",
54    "http://prdownloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz?use_mirror=kent",
55    "http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2",
56    "http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2",
57]
58
59#_pkgs = ['ndg',
60#         'ndg.security',
61#         'ndg.security.server',
62#         'ndg.security.client']
63#
64#_namespacePkgs = ['ndg',
65#                 'ndg.security',
66#                 'ndg.security.server',
67#                 'ndg.security.client']
68
69_entryPoints = \
70{
71    'console_scripts': ['ndgSessionClient = ndg.security.client.ndgSessionClient:main']
72}
73
74setup(
75    'name':                     'ndg-security',
76    'version':                  '0.7.2',
77    'description':              'NERC DataGrid Security Utilities',
78    'long_description':         'Software for securing NDG resources',
79    'author':                   'Philip Kershaw',
80    'author_email':             'P.J.Kershaw@rl.ac.uk',
81    'maintainer':               'Philip Kershaw',
82    'maintainer_email':         'P.J.Kershaw@rl.ac.uk',
83    'url':                      'http://proj.badc.rl.ac.uk/ndg',
84    license =               'Q Public License, version 1.0 or later',
85    'install_requires':         _pkgDependencies,
86    'dependency_links':         _pkgDependencyLinks,
87    'packages':                 find_packages('ndg'),
88    'namespace_packages':       _namespacePkgs,
89    # This flag will include all files under SVN control or included in
90    # MANIFEST.in.
91    #'include_package_data':    True,
92    # Finer grained control of data file inclusion can be achieved with
93    # these parameters.  See the setuptools docs.
94    #'package_data':            {}
95    #'exclude_package_data':    {}
96    'entry_points':        _entryPoints,
97    #'tSest_suite':                'ndg.utils.test.suite',
98)
99
Note: See TracBrowser for help on using the repository browser.