[Subversion] / PEAK / setup.py  

Diff of /PEAK/setup.py

Parent Directory | Revision Log

version 757, Wed Nov 27 21:54:21 2002 UTC version 763, Thu Nov 28 23:44:26 2002 UTC
Line 5 
Line 5 
 from distutils.core import setup, Command, Extension  from distutils.core import setup, Command, Extension
 from distutils.command.install_data import install_data  from distutils.command.install_data import install_data
 from distutils.command.sdist import sdist as old_sdist  from distutils.command.sdist import sdist as old_sdist
   from distutils.command.build_ext import build_ext as old_build_ext
 import sys  import sys
   
   try:
       from Pyrex.Distutils.build_ext import build_ext
       EXT = '.pyx'
   except ImportError:
       build_ext = old_build_ext
       EXT = '.c'
   
   
 class install_data(install_data):  class install_data(install_data):
   
     """Variant of 'install_data' that installs data to module directories"""      """Variant of 'install_data' that installs data to module directories"""
Line 30 
Line 39 
         # Run the standard sdist command          # Run the standard sdist command
         old_sdist.run(self)          old_sdist.run(self)
   
   
   
   
   
   
   
   
   
   
 class test(Command):  class test(Command):
   
     """Command to run unit tests after installation"""      """Command to run unit tests after installation"""
Line 158 
Line 158 
         Extension("Persistence.cPersistence",          Extension("Persistence.cPersistence",
             ["src/Persistence/cPersistence.c"]              ["src/Persistence/cPersistence.c"]
         ),          ),
         Extension("peak.util.buffer_gap", ["src/peak/util/buffer_gap.c"]),          Extension("peak.util.buffer_gap", ["src/peak/util/buffer_gap" + EXT]),
           Extension("peak.util._Code", ["src/peak/util/_Code" + EXT]),
     ],      ],
   
   
     cmdclass = {      cmdclass = {
         'install_data': install_data, 'sdist': sdist, 'happy': happy,          'install_data': install_data, 'sdist': sdist, 'happy': happy,
         'test': test, 'sdist_nodoc': old_sdist,          'test': test, 'sdist_nodoc': old_sdist, 'build_ext': build_ext,
     },      },
   
     data_files = [      data_files = [


Generate output suitable for use with a patch program
Legend:
Removed from v.757  
changed lines
  Added in v.763

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help