[Subversion] / PEAK / setup.py  

Diff of /PEAK/setup.py

Parent Directory | Revision Log

version 2071, Sat Jul 9 04:44:58 2005 UTC version 2073, Sat Jul 9 05:32:33 2005 UTC
Line 11 
Line 11 
 PACKAGE_VERSION = "0.5a4"  PACKAGE_VERSION = "0.5a4"
 HAPPYDOC_IGNORE = [  HAPPYDOC_IGNORE = [
     '-i','old', '-i','tests', '-i','setup', '-i','examples',      '-i','old', '-i','tests', '-i','setup', '-i','examples',
     '-i', 'kjbuckets', '-i', 'ZConfig',  
 ]  ]
   
 scripts = ['scripts/peak']  scripts = ['scripts/peak']
Line 32 
Line 31 
     ),      ),
     Extension("peak.util.buffer_gap", ["src/peak/util/buffer_gap.pyx"]),      Extension("peak.util.buffer_gap", ["src/peak/util/buffer_gap.pyx"]),
     Extension("peak.util._Code", ["src/peak/util/_Code.pyx"]),      Extension("peak.util._Code", ["src/peak/util/_Code.pyx"]),
     Extension("protocols._speedups", ["src/protocols/_speedups.pyx"]),  
     Extension("dispatch._speedups", ["src/dispatch/_speedups.pyx"]),  
     Extension(      Extension(
         "peak.persistence._persistence", ["src/peak/persistence/persistence.c"]          "peak.persistence._persistence", ["src/peak/persistence/persistence.c"]
     ),      ),
 ]  ]
   
 try:  
     # Check if Zope X3 is installed; we use zope.component  
     # because we don't install it ourselves; if we used something we  
     # install, we'd get a false positive if PEAK was previously installed.  
     import zope.component  
     zope_installed = True  
   
 except ImportError:  
     zope_installed = False  
   
   
 have_uuidgen = False  have_uuidgen = False
Line 80 
Line 69 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 execfile('src/setup/common.py')  execfile('src/setup/common.py')
   
 features = {  features = {
     'tests': Feature(      'tests': Feature(
         "test modules", standard = True,          "test modules", standard = True,
Line 89 
Line 90 
     'metamodels': Feature(      'metamodels': Feature(
         "MOF/UML metamodels", standard = True, remove=['peak.metamodels']          "MOF/UML metamodels", standard = True, remove=['peak.metamodels']
     ),      ),
     'kjbuckets': Feature(  
         "Aaron Watters' kjbuckets module (DEPRECATED!)", standard = False,  
         ext_modules = [  
             Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]),  
         ]  
     ),  
     'fcgiapp': Feature(  
         "FastCGI support", standard = (os.name=='posix'),  
         ext_modules = [  
             Extension("fcgiapp", [  
                 "src/fcgiapp/fcgiappmodule.c", "src/fcgiapp/fcgiapp.c"  
             ])  
         ]  
     ),  
     'ZConfig': Feature(  
         "ZConfig 2.0", standard = not zope_installed, remove = ['ZConfig']  
     ),  
     'uuidgen': Feature(      'uuidgen': Feature(
         "UUID generation via BSD system libraries",          "UUID generation via BSD system libraries",
         available = have_uuidgen, standard = have_uuidgen,          available = have_uuidgen, standard = have_uuidgen,
Line 125 
Line 109 
     '*.ini', '*.html', '*.conf', '*.xml', '*.pwt', '*.dtd', '*.txt',      '*.ini', '*.html', '*.conf', '*.xml', '*.pwt', '*.dtd', '*.txt',
 ]  ]
   
   
   
   
   
   
   
   
   
   
   
   
   
 setup(  setup(
     name=PACKAGE_NAME,      name=PACKAGE_NAME,
     version=PACKAGE_VERSION,      version=PACKAGE_VERSION,
Line 140 
Line 136 
     packages    = packages,      packages    = packages,
     cmdclass = SETUP_COMMANDS,      cmdclass = SETUP_COMMANDS,
   
       install_requires = [
           'PyProtocols >= 1.0a0dev-r2070',
           'wsgiref     >= 0.0.1dev',
           'ZConfig     >  2.0',
       ],
   
       extras_require = {
           'FastCGI': ['fcgiapp >= 1.4'],
       },
   
     package_data = {      package_data = {
         '': ALL_EXTS,          '': ALL_EXTS,
         'ZConfig': ['doc/schema.dtd'],  
         'ZConfig.tests': ['input/*.xml', 'input/*.conf'],  
         'ZConfig.tests.library.thing': ['extras/extras.xml'],  
         'peak.metamodels': ['*.asdl']          'peak.metamodels': ['*.asdl']
     },      },
   
Line 159 
Line 162 
   
   
   
   
   
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help