Ignore:
Timestamp:
15/03/07 13:49:07 (13 years ago)
Author:
pjkersha
Message:

ndg.security.server/setup.py:

  • added correct zope.interface dependency
  • changed egg name ndg.security.server to ndg_security_server otherwise it causes problems for easy_install to

find it when set as a dependency.

ndg.security.common/setup.py:

  • likewise to the above, changed name to ndg_security_common

setup.py:

  • simplified setup setting only the ndg security eggs as dependencies.

ndg.security.client/setup.py:

  • as above - simplified to set only the ndg security eggs as dependencies.

ndg.security.client/setup.cfg:

  • set tag to _dews
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/setup.py

    r2270 r2283  
    2626# TODO: subdivide these into server and client specific and comon dependencies 
    2727_pkgDependencies = [ 
    28     'ndg.security.common', 
    29     'pycrypto', 
    30 #    MySQL-python', - gcc: unrecognized option `-restrict' 
     28    'ndg_security_common', 
     29     
     30    # Zope interface 
     31    'zope.interface' 
    3132] 
    3233 
    33  
    34 _entryPoints = None 
    35  
     34# Installation location for configuration and share files 
     35#ndgDir = os.environ.get('NDG_DIR') or os.environ.get('NDG_HOME') or \ 
     36#        os.path.join('/', 'etc', 'ndg') 
     37# 
     38#dataSubDirs = ('conf', 'share') 
     39#dataDirs = {}.fromkeys(dataSubDirs) 
     40#for dir in dataSubDirs: 
     41#    dataDirs[dir] = os.path.join(ndgDir, dir) 
     42#     
     43#    # Ensure path is set up OK 
     44#    try: 
     45#        os.makedirs(dataDirs[dir], 0755) 
     46#    except OSError, e: 
     47#        if e.errno != 17: 
     48#            raise SystemExit, "Error creating data directory: " + str(e) 
     49#        else: 
     50#            pass 
     51     
    3652setup( 
    37     name =                      'ndg.security.server', 
     53    name =                      'ndg_security_server', 
    3854    version =                   '0.7.2', 
    3955    description =               'NERC DataGrid Security Services', 
     
    5268    dependency_links = [ 
    5369        "http://ndg.nerc.ac.uk/dist", 
    54 #        "http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-3.0.1.tgz" 
     70         
     71        # Zope Interface 
     72        "http://www.zope.org/Products/ZopeInterface/"  
    5573        ], 
    5674 
     
    6179    packages =                      find_packages(), 
    6280    namespace_packages =        ['ndg', 'ndg.security'], 
    63     # This flag will include all files under SVN control or included in 
    64     # MANIFEST.in. 
    65     #'include_package_data =    True, 
    66     # Finer grained control of data file inclusion can be achieved with 
    67     # these parameters.  See the setuptools docs. 
    68     package_data =         {'ndg.security.server.conf': ['*.xml']}, 
    69     #'exclude_package_data =    {} 
    70     entry_points =         _entryPoints, 
    71     test_suite =                   'ndg.security.test', 
    72     zip_safe =             False 
     81    package_data =          {'ndg.security.server.conf': ['*.xml']}, 
     82#    data_files =            [('share',  
     83#                              [os.path.join('share', 'ndg-aa'),  
     84#                               os.path.join('share', 'ndg-ca'), 
     85#                               os.path.join('share', 'ndg-gk'),  
     86#                               os.path.join('share', 'ndg-log'),  
     87#                               os.path.join('share', 'ndg-sm')]) 
     88#                              ], 
     89    test_suite =                    'ndg.security.test', 
     90    zip_safe =              False 
    7391) 
Note: See TracChangeset for help on using the changeset viewer.