include_fcgiapp = True # edit this to stop installation of 'fcgiapp' |
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', 'zope', '-i', 'setup', |
'-i', 'examples', '-i', 'old', '-i', 'tests', '-i', 'setup', |
'-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'persistence', |
'-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 = [ |
|
|
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'] |
|
|
|
# install 'fcgiapp' module, too |
|
if include_fcgiapp: |
if include_fcgiapp: |
extensions += [ |
extensions += [ |
Extension("fcgiapp", [ |
Extension("fcgiapp", [ |
]) |
]) |
] |
] |
|
|
else: |
|
# Nothing to see here, move along... |
|
scripts = [] |
|
|
|
|
|
execfile('src/setup/common.py') |
execfile('src/setup/common.py') |
scripts = scripts, |
scripts = scripts, |
) |
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|