[Subversion] / PEAK / setup.py  

Diff of /PEAK/setup.py

Parent Directory | Revision Log

version 1203, Tue Jun 24 21:45:21 2003 UTC version 1467, Sat Nov 22 20:43:30 2003 UTC
Line 1 
Line 1 
 #!/usr/bin/env python  #!/usr/bin/env python
   
 """Distutils setup file"""  """Distutils setup file"""
   
 execfile('src/setup/prologue.py')  execfile('src/setup/prologue.py')
Line 10 
Line 9 
   
 # Metadata  # Metadata
 PACKAGE_NAME = "PEAK"  PACKAGE_NAME = "PEAK"
 PACKAGE_VERSION = "0.5a2"  PACKAGE_VERSION = "0.5a3"
   
 HAPPYDOC_IGNORE = [  HAPPYDOC_IGNORE = [
     '-i', 'examples',  '-i', 'old', '-i', 'tests', '-i', 'setup',      '-i', 'examples',  '-i', 'old', '-i', 'tests', '-i', 'setup',
     '-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'persistence',      '-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'persistence',
Line 22 
Line 20 
   
 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.running', 'peak.security',      'peak.naming', 'peak.naming.factories', 'peak.net', 'peak.running',
     'peak.storage', 'peak.util', 'protocols',      'peak.running.tools', 'peak.running.tools.n2', 'peak.security',
       'peak.storage', 'peak.util', 'peak.web', 'protocols',
       'peak.running.tools.version', 'peak.query',
 ]  ]
   
 extensions = [  extensions = [
Line 43 
Line 43 
   
 data_files = [  data_files = [
     ('peak', ['src/peak/peak.ini']),      ('peak', ['src/peak/peak.ini']),
 ] + findDataFiles('src/peak/running', 1, '*.xml')      ('peak/web', ['src/peak/web/resource_defaults.ini']),
   ] + findDataFiles('src/peak/running', 1, '*.xml', '*.ini')
   
   
 if include_tests:  if include_tests:
Line 51 
Line 52 
     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.security.tests', 'peak.web.tests', 'peak.query.tests',
         'peak.storage.tests', 'peak.util.tests', 'protocols.tests',          'peak.storage.tests', 'peak.util.tests', 'protocols.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']),
       ] + findDataFiles('src/peak/web/tests', 1, '*.pwt')
   
   
 if include_metamodels:  if include_metamodels:
Line 74 
Line 76 
   
         packages += [ 'peak.metamodels.tests' ]          packages += [ 'peak.metamodels.tests' ]
   
         data_files += findDataFiles('src/peak/metamodels/tests', 1, '*.xml')          data_files += findDataFiles(
               'src/peak/metamodels/tests', 1, '*.xml', '*.asdl'
           )
   
   
   
 try:  try:
     # Check if Zope X3 is installed; we use zope.component      # Check if Zope X3 is installed; we use zope.component
Line 121 
Line 121 
   
   
   
   import sys
   
   if sys.version_info < (2,3):
       # Install datetime module if we're not on 2.3
       packages += ['datetime']
       if include_tests:
           packages += ['datetime.tests']
   
   
 import os  import os
   
 if os.name=='posix':  if os.name=='posix':
Line 135 
Line 144 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 execfile('src/setup/common.py')  execfile('src/setup/common.py')
   
 setup(  setup(
Line 162 
Line 189 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help