From 03c58cd95d67e1a4a08a25bdbffb5030b6343df9 Mon Sep 17 00:00:00 2001 From: ?ric Araujo Date: Tue, 3 Aug 2010 17:00:02 +0200 Subject: Use explicit name instead of literal (Tarek?s preference) --- src/distutils2/command/build_ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/distutils2/command') diff --git a/src/distutils2/command/build_ext.py b/src/distutils2/command/build_ext.py index 7e160ab..4428b71 100644 --- a/src/distutils2/command/build_ext.py +++ b/src/distutils2/command/build_ext.py @@ -292,7 +292,7 @@ class build_ext(Command): "config")) else: # building python standard extensions - self.library_dirs.append('.') + self.library_dirs.append(os.curdir) # for extensions under Linux or Solaris with a shared Python library, # Python's library directory must be appended to library_dirs @@ -305,7 +305,7 @@ class build_ext(Command): self.library_dirs.append(sysconfig.get_config_var('LIBDIR')) else: # building python standard extensions - self.library_dirs.append('.') + self.library_dirs.append(os.curdir) # The argument parsing will result in self.define being a string, but # it has to be a list of 2-tuples. All the preprocessor symbols -- cgit v1.2.1