Ignore:
Timestamp:
22/08/06 14:34:28 (14 years ago)
Author:
spascoe
Message:

Bug fix for installing with setuptools + updated README.

File:
1 edited

Legend:

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

    r1439 r1443  
    106106        self.execute(os.system, ('doxygen',)) 
    107107 
    108 from distutils.command.build import build 
     108from setuptools.command.bdist_egg import bdist_egg 
    109109 
    110 class MyBuild(build): 
     110class MyBuild(bdist_egg): 
    111111    def run(self): 
    112112        # We make the stand-alone client/server here for 2 reasons: The source must be 
     
    114114        # the stand-alone client. 
    115115        self.spawn(['make', '-C', 'src']) 
    116         build.run(self) 
     116        bdist_egg.run(self) 
    117117 
    118118#------------------------------------------------------------------------------------------- 
     
    156156      scripts=['examples/deliveryd.py'], 
    157157      ext_modules = [bbftpd], 
    158       cmdclass = {'doc': Doc, 'build': MyBuild} 
     158      cmdclass = {'doc': Doc, 'bdist_egg': MyBuild} 
    159159      ) 
    160160       
     
    173173      scripts=['examples/deliveryclient.py'], 
    174174      ext_modules = [bbftpc], 
    175       cmdclass = {'doc': Doc, 'build': MyBuild} 
     175      cmdclass = {'doc': Doc, 'bdist_egg': MyBuild} 
    176176      ) 
Note: See TracChangeset for help on using the changeset viewer.