[Subversion] / PEAK / setup.py  

Diff of /PEAK/setup.py

Parent Directory | Revision Log

version 652, Sat Nov 9 00:05:52 2002 UTC version 767, Sat Nov 30 20:04:51 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 123 
Line 123 
   
 setup(  setup(
     name="PEAK",      name="PEAK",
     version="0.5a1",      version="0.5a0",
   
     description="The Python Enterprise Application Kit",      description="The Python Enterprise Application Kit",
   
     author="Phillip J. Eby",      author="Phillip J. Eby",
     author_email="transwarp@eby-sarna.com",      author_email="transwarp@eby-sarna.com",
   
     url="http://www.telecommunity.com/PEAK/",      url="http://www.telecommunity.com/PEAK/",
   
       license="PSF or ZPL",
       platforms=['UNIX','Windows'],
   
     packages=[      packages=[
         'peak', 'peak.api', 'peak.binding', 'peak.model', 'peak.metamodels',          'peak', 'peak.api', 'peak.binding', 'peak.model', 'peak.metamodels',
         'peak.metamodels.mof', 'peak.metamodels.uml', 'peak.metamodels.xmi',          'peak.metamodels.mof', 'peak.metamodels.uml',
         'peak.naming', 'peak.naming.factories', 'peak.util', 'peak.running',          'peak.naming', 'peak.naming.factories', 'peak.util', 'peak.running',
         'peak.config', 'peak.storage',          'peak.config', 'peak.storage',
   
         'peak.binding.tests', 'peak.config.tests', 'peak.storage.tests',          'peak.binding.tests', 'peak.config.tests', 'peak.storage.tests',
         'peak.metamodels.tests', 'peak.util.tests', 'peak.naming.tests',          'peak.metamodels.tests', 'peak.util.tests', 'peak.naming.tests',
         'peak.model.tests', 'peak.tests',          'peak.model.tests', 'peak.tests', 'peak.running.tests',
   
         'Interface', 'Interface.tests',          'Interface', 'Interface.tests',
         'Interface.Common', 'Interface.Common.tests',          'Interface.Common', 'Interface.Common.tests',
         'Interface.Registry', 'Interface.Registry.tests',          'Interface.Registry', 'Interface.Registry.tests',
         'Persistence',          'Persistence',
     ],      ],
   
     package_dir = {'':'src'},      package_dir = {'':'src'},
   
     ext_modules = [  
         Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]),  
         Extension("Persistence.cPersistence",  
             ["src/Persistence/cPersistence.c"]  
         )  
     ],  
     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 = [
         ('peak', ['src/peak/peak.ini']),          ('peak', ['src/peak/peak.ini']),
           ('peak/running/tests', ['src/peak/running/tests/test_cluster.txt']),
         ('peak/metamodels/tests', ['src/peak/metamodels/tests/MetaMeta.xml']),          ('peak/metamodels/tests', ['src/peak/metamodels/tests/MetaMeta.xml']),
     ],      ],
   
       ext_modules = [
           Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]),
           Extension("Persistence.cPersistence",
               ["src/Persistence/cPersistence.c"]
           ),
           Extension(
               "peak.binding._once", [
                   "src/peak/binding/_once" + EXT,
                   "src/peak/binding/getdict.c"
               ]
           ),
           Extension("peak.util.buffer_gap", ["src/peak/util/buffer_gap" + EXT]),
           Extension("peak.util._Code", ["src/peak/util/_Code" + EXT]),
       ],
   
 )  )
   
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help