Changeset 2239


Ignore:
Timestamp:
06/03/07 16:46:21 (12 years ago)
Author:
pjkersha
Message:

Updated setup.py to include ndg.security.common package dependency but this is not working yet.

Location:
TI12-security/trunk/python/ndg.security.server
Files:
8 added
4 edited

Legend:

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

    • Property svn:ignore set to
      build
  • TI12-security/trunk/python/ndg.security.server/setup.cfg

    r2161 r2239  
    2020[egg_info] 
    2121tag_build = -DevPostAlpha 
    22 tag_svn_revision = true 
     22#tag_svn_revision = true 
    2323 
  • TI12-security/trunk/python/ndg.security.server/setup.py

    r2170 r2239  
    2727_pkgDependencies = [ 
    2828    'pycrypto', 
    29 #    'MySQL-python', - gcc: unrecognized option `-restrict' 
     29    'ndg.security.common', 
     30#    MySQL-python', - gcc: unrecognized option `-restrict' 
    3031] 
    3132 
    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  
    40 import pdb;pdb.set_trace() 
    4133 
    4234_entryPoints = None 
    4335 
    44 setupKw = \ 
    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'], 
     36setup( 
     37    name =                      'ndg.security.server', 
     38    version =                   '0.7.2', 
     39    description =               'NERC DataGrid Security Services', 
     40    long_description =          'Server side component for securing NDG resources', 
     41    author =                    'Philip Kershaw', 
     42    author_email =              'P.J.Kershaw@rl.ac.uk', 
     43    maintainer =                'Philip Kershaw', 
     44    maintainer_email =          'P.J.Kershaw@rl.ac.uk', 
     45    url =                       'http://proj.badc.rl.ac.uk/ndg', 
     46    install_requires =          _pkgDependencies, 
     47     
     48    # Set ndg.security.common dependency.  Also, sledge hammer approach needed  
     49    # with some packages as they won't install from their PyPI name - instead give 
     50    # the explicit URL.  This may cause problems later! 
     51    dependency_links = [ 
     52        "http://proj.badc.rl.ac.uk/ndg/browser/TI12-security/trunk/python/ndg.security.common/dist/ndg.security.common-0.7.2_DevPostAlpha-py2.4.egg?format=raw", 
     53        "http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-3.0.1.tgz" 
     54        ], 
     55 
     56    # These will have to be installed manually - they won't currently 'eggify' 
     57    #    http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2 
     58    #    http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2 
     59 
     60    packages =                      find_packages(), 
     61    namespace_packages =        ['ndg', 'ndg.security'], 
    5962    # This flag will include all files under SVN control or included in 
    6063    # MANIFEST.in. 
    61     #'include_package_data':    True, 
     64    #'include_package_data =    True, 
    6265    # Finer grained control of data file inclusion can be achieved with 
    6366    # 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 } 
    70 setup(**setupKw) 
     67    package_data =         {'ndg.security.server.conf': ['*.xml']}, 
     68    #'exclude_package_data =    {} 
     69    entry_points =         _entryPoints, 
     70    test_suite =                   'ndg.security.test', 
     71    zip_safe =             False 
     72) 
Note: See TracChangeset for help on using the changeset viewer.