Ignore:
Timestamp:
10/07/06 14:54:57 (14 years ago)
Author:
spascoe
Message:

Updated python code to reflect the renaming of the delivery package to pybbftp.
Some C tidying to reduce compiler warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/setup.py

    r1281 r1289  
    9797 
    9898    def run(self): 
    99         cmd = 'epydoc -o doc/epydoc -v --docformat javadoc --name "NDG Delivery Service" build/lib*/delivery/' 
     99        cmd = ('epydoc -o doc/epydoc -v --docformat javadoc ' 
     100               '--name "NDG Delivery Service" build/lib*/pybbftp/') 
    100101        self.execute(os.system, (cmd,)) 
    101102        self.execute(os.system, ('doxygen',)) 
     
    117118 
    118119 
    119 bbftpd = Extension('delivery.bbftpd', 
     120bbftpd = Extension('pybbftp.bbftpd', 
    120121                   define_macros = [('NDG_AUTH', 1), ('LOCAL_SYSLOG_FACILITY', 1), 
    121122                                    ('_LARGEFILE64_SOURCE', 1), 
     
    124125                   include_dirs = [bbftpd_home+'/includes', bbftpd_home+'/bbftpd'], 
    125126                   libraries = ['crypt', 'crypto'], 
    126                    extra_compile_args = ["-O1"], 
     127                   extra_compile_args = ["-O1", "-Wno-strict-prototypes"], 
    127128                   sources = server_sources) 
    128129 
    129 bbftpc = Extension('delivery.bbftpc', 
     130bbftpc = Extension('pybbftp.bbftpc', 
    130131                   define_macros = [('NDG_AUTH', 1), ('LOCAL_SYSLOG_FACILITY', 1), 
    131132                                    ('_LARGEFILE64_SOURCE', 1), 
     
    134135                   include_dirs = [bbftpc_home+'/includes', bbftpc_home+'/bbftpc'], 
    135136                   libraries = ['crypt', 'crypto'], 
    136                    extra_compile_args = ["-O1"], 
     137                   extra_compile_args = ["-O1", "-Wno-strict-prototypes"], 
    137138                   sources = client_sources) 
    138139 
     
    143144      author_email = 'S.Pascoe@rl.ac.uk', 
    144145      package_dir = {'': 'lib/python'}, 
    145       packages = ['delivery'], 
     146      packages = ['pybbftp'], 
    146147      ext_modules = [ 
    147148                     bbftpd, 
Note: See TracChangeset for help on using the changeset viewer.