Commit 16f7f557 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

try to check /usr/lib/zope2.8 too suggested by Boris.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26089 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ab155338
...@@ -139,16 +139,16 @@ if WIN: ...@@ -139,16 +139,16 @@ if WIN:
erp5_home = os.path.sep.join( erp5_home = os.path.sep.join(
tests_framework_home.split(os.path.sep)[:-4]) tests_framework_home.split(os.path.sep)[:-4])
zope_home = os.path.join(erp5_home, 'Zope') zope_home = os.path.join(erp5_home, 'Zope')
software_home = os.path.join(zope_home, 'lib', 'python')
elif os.path.isdir('/usr/lib64/zope/lib/python'): elif os.path.isdir('/usr/lib64/zope/lib/python'):
software_home = '/usr/lib64/zope/lib/python'
zope_home = '/usr/lib64/zope' zope_home = '/usr/lib64/zope'
elif os.path.isdir('/usr/lib/erp5/lib/python'): elif os.path.isdir('/usr/lib/erp5/lib/python'):
software_home = '/usr/lib/erp5/lib/python'
zope_home = '/usr/lib/erp5' zope_home = '/usr/lib/erp5'
elif os.path.isdir('/usr/lib/zope2.8/lib/python'):
zope_home = '/usr/lib/zope2.8'
else: else:
software_home = '/usr/lib/zope/lib/python'
zope_home = '/usr/lib/zope' zope_home = '/usr/lib/zope'
software_home = os.path.join(zope_home, 'lib', 'python')
# handle 'system global' instance and windows # handle 'system global' instance and windows
if WIN: if WIN:
real_instance_home = os.path.join(erp5_home, 'ERP5Instance') real_instance_home = os.path.join(erp5_home, 'ERP5Instance')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment