[Zope-CVS] CVS: Packages/Spread - setup.py:1.4
Tim Peters
tim.one@home.com
Wed, 19 Dec 2001 00:49:50 -0500
Update of /cvs-repository/Packages/Spread
In directory cvs.zope.org:/tmp/cvs-serv11704
Modified Files:
setup.py
Log Message:
Don't use forward slashes in paths destined for cmdline use on Windows --
the Win32 API doesn't care, but the Windows shells think "/" introduces
an option. The remaining forward slashes worked by an accident of
context.
=== Packages/Spread/setup.py 1.3 => 1.4 ===
if os.name == 'nt':
- SPREAD_DIR = "\\code\\standby\\spread-bin-3.16.1"
+ SPREAD_DIR = r"\code\standby\spread-bin-3.16.1"
ext = Extension('spread', ['spreadmodule.c'],
- include_dirs = [SPREAD_DIR + "/include"],
- library_dirs = [SPREAD_DIR + "/win"],
+ include_dirs = [SPREAD_DIR + r"\include"],
+ library_dirs = [SPREAD_DIR + r"\win"],
libraries = ['libtsp', 'wsock32'],
extra_link_args = ['/NODEFAULTLIB:libc'],
)