*** /home/tskirvin/site.py	Tue Nov 16 09:29:20 2004
--- Lib/site.py	Tue Nov 16 09:33:23 2004
***************
*** 160,165 ****
--- 160,169 ----
  sitedir = None # make sure sitedir is initialized because of later 'del'
  if sys.exec_prefix != sys.prefix:
      prefixes.append(sys.exec_prefix)
+ if(os.sep == '/'):
+ 	_l = sys.exec_prefix.split('/')
+ 	if (_l[-2] == 'encap') and not (_l[-1].lower().find('python') == -1):
+ 		prefixes.append('/'.join(_l[:-2]))
  for prefix in prefixes:
      if prefix:
          if sys.platform in ('os2emx', 'riscos'):
