Back out conversion to string methods; the Distutils is intended to work

with 1.5.2
This commit is contained in:
Andrew M. Kuchling 2001-03-22 03:48:31 +00:00
parent a7f225d88a
commit ac20f773f3
4 changed files with 13 additions and 13 deletions

View file

@ -7,7 +7,7 @@ modules in setup scripts."""
__revision__ = "$Id$"
import os
import os, string
from types import *
@ -168,7 +168,7 @@ def read_setup_file (filename):
elif switch == "-I":
ext.include_dirs.append(value)
elif switch == "-D":
equals = value.find("=")
equals = string.find(value, "=")
if equals == -1: # bare "-DFOO" -- no value
ext.define_macros.append((value, None))
else: # "-DFOO=blah"