Changeset 1439 for TI05-delivery/trunk


Ignore:
Timestamp:
22/08/06 12:52:19 (13 years ago)
Author:
spascoe
Message:

Continuing transition to use setuptools. Eggs will now build but
examples and test cases are broken.

Location:
TI05-delivery/trunk
Files:
4 added
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/lib/python/ndg/delivery/pybbftp/__init__.py

    r1437 r1439  
    77@author Stephen Pascoe 
    88""" 
    9  
    10 # Magic import to make this a namespace package 
    11 # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages 
    12 __import__('pkg_resources').declare_namespace(__name__) 
  • TI05-delivery/trunk/setup.py

    r1437 r1439  
    118118#------------------------------------------------------------------------------------------- 
    119119 
    120 bbftpd = Extension('ndg.delivery.pybbftp.bbftpd', 
     120bbftpd = Extension('ndg.delivery.server.bbftpd', 
    121121                   define_macros = [('NDG_AUTH', 1), 
    122122                                    ('LOCAL_SYSLOG_FACILITY', 1), 
     
    131131                   sources = server_sources) 
    132132 
    133 bbftpc = Extension('ndg.delivery.pybbftp.bbftpc', 
     133bbftpc = Extension('ndg.delivery.client.bbftpc', 
    134134                   define_macros = [('NDG_AUTH', 1), ('LOCAL_SYSLOG_FACILITY', 1), 
    135135                                    ('_LARGEFILE64_SOURCE', 1), 
     
    151151      install_requires = ['setuptools'], 
    152152 
    153       packages = ['ndg', 'ndg.delivery', 'ndg.delivery.pybbftp'], 
    154       namespace_packages = ['ndg', 'ndg.delivery', 'ndg.delivery.pybbftp'], 
     153      packages = ['ndg', 'ndg.delivery', 'ndg.delivery.server'], 
     154      namespace_packages = ['ndg', 'ndg.delivery'], 
    155155      package_dir = {'': 'lib/python'}, 
    156       py_modules = ['ndg.delivery.pybbftp.server'], 
    157156      scripts=['examples/deliveryd.py'], 
    158157      ext_modules = [bbftpd], 
     
    169168      install_requires = ['setuptools'], 
    170169 
    171       packages = ['ndg', 'ndg.delivery', 'ndg.delivery.pybbftp'], 
    172       namespace_packages = ['ndg', 'ndg.delivery', 'ndg.delivery.pybbftp'], 
     170      packages = ['ndg', 'ndg.delivery', 'ndg.delivery.client'], 
     171      namespace_packages = ['ndg', 'ndg.delivery'], 
    173172      package_dir = {'': 'lib/python'}, 
    174       py_modules = ['ndg.delivery.pybbftp.client'], 
    175173      scripts=['examples/deliveryclient.py'], 
    176174      ext_modules = [bbftpc], 
Note: See TracChangeset for help on using the changeset viewer.