[Zope-Checkins] CVS: Zope/inst - setup.py:1.1.2.2
Chris McDonough
chrism@zope.com
Fri, 4 Oct 2002 17:42:43 -0400
Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv29172
Modified Files:
Tag: chrism-install-branch
setup.py
Log Message:
Hack to support win32.
=== Zope/inst/setup.py 1.1.2.1 => 1.1.2.2 ===
--- Zope/inst/setup.py:1.1.2.1 Sun Sep 29 17:46:23 2002
+++ Zope/inst/setup.py Fri Oct 4 17:42:42 2002
@@ -148,6 +148,9 @@
self.select_scheme("unix_prefix")
AUTHOR = 'Zope Corporation and Contributors'
+if sys.platform == 'win32':
+ def abspath(path): return path
+ os.path.abspath = abspath
ZOPE_ROOT = os.path.abspath(os.getcwd())
EXTENSIONCLASS_ROOT = os.path.join(ZOPE_ROOT, 'lib', 'Components', 'ExtensionClass')
EXTENSIONCLASS_SRCDIR = os.path.join(EXTENSIONCLASS_ROOT, 'src')