Commit 56342d57 authored by Tarek Ziadé's avatar Tarek Ziadé

removed string.split usage

parent ccf608c9
...@@ -16,7 +16,7 @@ __revision__ = "$Id$" ...@@ -16,7 +16,7 @@ __revision__ = "$Id$"
# two modules, mainly because a number of subtle details changed in the # two modules, mainly because a number of subtle details changed in the
# cut 'n paste. Sigh. # cut 'n paste. Sigh.
import os, string import os
from distutils.core import Command from distutils.core import Command
from distutils.errors import * from distutils.errors import *
from distutils.sysconfig import customize_compiler from distutils.sysconfig import customize_compiler
...@@ -87,8 +87,7 @@ class build_clib (Command): ...@@ -87,8 +87,7 @@ class build_clib (Command):
if self.include_dirs is None: if self.include_dirs is None:
self.include_dirs = self.distribution.include_dirs or [] self.include_dirs = self.distribution.include_dirs or []
if isinstance(self.include_dirs, str): if isinstance(self.include_dirs, str):
self.include_dirs = string.split(self.include_dirs, self.include_dirs = self.include_dirs.split(os.pathsep)
os.pathsep)
# XXX same as for build_ext -- what about 'self.define' and # XXX same as for build_ext -- what about 'self.define' and
# 'self.undef' ? # 'self.undef' ?
......
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