[Subversion] / PEAK / setup.py  

Diff of /PEAK/setup.py

Parent Directory | Revision Log

version 1584, Sun Jan 4 21:06:13 2004 UTC version 1643, Mon Jan 26 22:02:10 2004 UTC
Line 11 
Line 11 
 PACKAGE_NAME = "PEAK"  PACKAGE_NAME = "PEAK"
 PACKAGE_VERSION = "0.5a3"  PACKAGE_VERSION = "0.5a3"
 HAPPYDOC_IGNORE = [  HAPPYDOC_IGNORE = [
     '-i', 'examples',  '-i', 'old', '-i', 'tests', '-i', 'setup',      '-i','datetime', '-i','old', '-i','tests', '-i','setup', '-i','examples',
     '-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'persistence',      '-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'persistence', '-i', 'csv',
 ]  ]
   
 # Base packages for installation  # Base packages for installation
 scripts = ['scripts/peak']  scripts = ['scripts/peak']
   
 packages = [  packages = [
     'peak', 'peak.api', 'peak.binding', 'peak.config', 'peak.model',      'peak', 'peak.api', 'peak.binding', 'peak.config', 'peak.model',
     'peak.naming', 'peak.naming.factories', 'peak.net', 'peak.running',      'peak.naming', 'peak.naming.factories', 'peak.net', 'peak.running',
     'peak.tools', 'peak.tools.n2', 'peak.security', 'peak.tools.supervisor',      'peak.tools', 'peak.tools.n2', 'peak.security', 'peak.tools.supervisor',
     'peak.storage', 'peak.util', 'peak.web', 'protocols',      'peak.storage', 'peak.util', 'peak.web', 'peak.ddt', 'protocols',
     'peak.tools.version', 'peak.query', 'peak.events',      'peak.tools.version', 'peak.query', 'peak.events',
 ]  ]
   
Line 39 
Line 38 
     Extension("protocols._speedups", ["src/protocols/_speedups" + EXT]),      Extension("protocols._speedups", ["src/protocols/_speedups" + EXT]),
 ]  ]
   
   
 # Base data files  # Base data files
   
 data_files = [  data_files = [
     ('peak',     ['src/peak/peak.ini']),      ('peak',     ['src/peak/peak.ini']),
     ('peak/web', ['src/peak/web/resource_defaults.ini']),      ('peak/web', ['src/peak/web/resource_defaults.ini']),
       ('ZConfig/doc', ['src/ZConfig/doc/schema.dtd']),
 ] + findDataFiles('src/peak/running', 1, '*.xml', '*.ini')  ] + findDataFiles('src/peak/running', 1, '*.xml', '*.ini')
   
   
 if include_tests:  if include_tests:
   
     packages += [      packages += [
         'peak.tests', 'peak.binding.tests', 'peak.config.tests',          'peak.tests', 'peak.binding.tests', 'peak.config.tests',
         'peak.model.tests', 'peak.naming.tests', 'peak.running.tests',          'peak.model.tests', 'peak.naming.tests', 'peak.running.tests',
         'peak.security.tests', 'peak.web.tests', 'peak.query.tests',          'peak.security.tests', 'peak.web.tests', 'peak.query.tests',
         'peak.storage.tests', 'peak.util.tests', 'protocols.tests',          'peak.storage.tests', 'peak.util.tests', 'protocols.tests',
         'peak.events.tests'          'peak.events.tests', 'peak.ddt.tests',
     ]      ]
   
     data_files += [      data_files += [
         ('peak/running/tests', ['src/peak/running/tests/test_cluster.txt']),          ('peak/running/tests', ['src/peak/running/tests/test_cluster.txt']),
         ('peak/config/tests',  ['src/peak/config/tests/test_links.ini']),          ('peak/config/tests',  ['src/peak/config/tests/test_links.ini']),
     ] + findDataFiles('src/peak/web/tests', 1, '*.pwt')      ] + findDataFiles('src/peak/web/tests', 1, '*.pwt') + findDataFiles(
                         'src/peak/ddt/tests', 1, '*.html'
       )
   
   
 if include_metamodels:  if include_metamodels:
Line 73 
Line 75 
     ]      ]
   
     if include_tests:      if include_tests:
   
         packages += [ 'peak.metamodels.tests' ]          packages += [ 'peak.metamodels.tests' ]
   
         data_files += findDataFiles(          data_files += findDataFiles(
             'src/peak/metamodels/tests', 1, '*.xml', '*.asdl'              'src/peak/metamodels/tests', 1, '*.xml', '*.asdl'
         )          )
Line 124 
Line 124 
 import sys  import sys
   
 if sys.version_info < (2,3):  if sys.version_info < (2,3):
     # Install datetime module if we're not on 2.3      # Install datetime and csv if we're not on 2.3
     packages += ['datetime']  
       packages += ['datetime','csv']
     if include_tests:      if include_tests:
         packages += ['datetime.tests']          packages += ['datetime.tests']
   
       extensions += [
           Extension('_csv', ['src/_csv.c'])
       ]
   
 import os  import os
   
Line 158 
Line 162 
   
   
   
   
   
   
   
 execfile('src/setup/common.py')  execfile('src/setup/common.py')
   
 setup(  setup(


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help