[Subversion] / PEAK / setup.py  

Diff of /PEAK/setup.py

Parent Directory | Revision Log

version 1049, Wed Apr 30 12:36:02 2003 UTC version 1119, Wed May 14 22:40:54 2003 UTC
Line 6 
Line 6 
   
 include_tests = True        # edit this to stop installation of test modules  include_tests = True        # edit this to stop installation of test modules
 include_metamodels = True   # edit this to stop installation of MOF, UML, etc.  include_metamodels = True   # edit this to stop installation of MOF, UML, etc.
   include_fcgiapp    = True   # edit this to stop installation of 'fcgiapp'
   
 # Metadata  # Metadata
   
 PACKAGE_NAME = "PEAK"  PACKAGE_NAME = "PEAK"
 PACKAGE_VERSION = "0.5a1"  PACKAGE_VERSION = "0.5a1"
   
 HAPPYDOC_IGNORE = [  HAPPYDOC_IGNORE = [
     '-i', 'examples',  '-i', 'old', '-i', 'tests',      '-i', 'examples',  '-i', 'old', '-i', 'tests', '-i', 'setup',
       '-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'persistence',
 ]  ]
   
   
 # Base packages for installation  # Base packages for installation
   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.running',      'peak.naming', 'peak.naming.factories', 'peak.running',
     'peak.storage', 'peak.util',      'peak.storage', 'peak.util', 'protocols',
 ]  ]
   
 extensions = [  extensions = [
Line 38 
Line 39 
     Extension("peak.util._Code", ["src/peak/util/_Code" + EXT]),      Extension("peak.util._Code", ["src/peak/util/_Code" + EXT]),
 ]  ]
   
   
 # Base data files  # Base data files
   
 data_files = [  data_files = [
Line 94 
Line 94 
 if not zope_installed:  if not zope_installed:
   
     packages += [      packages += [
         'zope', 'zope.interface', 'zope.interface.common',  
         'persistence', 'ZConfig',          'persistence', 'ZConfig',
     ]      ]
   
Line 104 
Line 103 
   
     if include_tests:      if include_tests:
         packages += [          packages += [
             'zope.interface.tests', 'persistence.tests', 'ZConfig.tests',              'persistence.tests', 'ZConfig.tests',
             'zope.interface.common.tests',  
         ]          ]
   
         data_files += findDataFiles('src/ZConfig/tests', 1, '*.xml', '*.txt', '*.conf')          data_files += findDataFiles('src/ZConfig/tests', 1, '*.xml', '*.txt', '*.conf')
Line 121 
Line 119 
   
   
   
   
   
 import os  import os
   
 if os.name=='posix':  if os.name=='posix':
   
     # install 'peak' script on Unix-like OS's (including cygwin)      # install 'fcgiapp' module on posix systems
     scripts = ['scripts/peak']      if include_fcgiapp:
           extensions += [
               Extension("fcgiapp", [
                   "src/fcgiapp/fcgiappmodule.c", "src/fcgiapp/fcgiapp.c"
               ])
           ]
   
 else:  
     # Nothing to see here, move along...  
     scripts = []  
   
   
 execfile('src/setup/common.py')  execfile('src/setup/common.py')
Line 140 
Line 142 
     version=PACKAGE_VERSION,      version=PACKAGE_VERSION,
   
     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://peak.telecommunity.com/",      url="http://peak.telecommunity.com/",
   
     license="PSF or ZPL",      license="PSF or ZPL",
     platforms=['UNIX','Windows'],      platforms=['UNIX','Windows'],
   
     packages    = packages,  
     package_dir = {'':'src'},      package_dir = {'':'src'},
       packages    = packages,
     cmdclass = SETUP_COMMANDS,      cmdclass = SETUP_COMMANDS,
   
     data_files = data_files,      data_files = data_files,
     ext_modules = extensions,      ext_modules = extensions,
     scripts = scripts,      scripts = scripts,
Line 162 
Line 159 
   
   
   
   
   
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help