changeset 49439:5cf73de964e1

setup: stop shadowing the builtin `dir` symbol I hit this when debugging what's available on the compiler.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 18 Jul 2022 17:00:59 -0400
parents b9fcf54030d7
children 747c4fc20886
files setup.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Mon Jul 18 03:29:53 2022 -0400
+++ b/setup.py	Mon Jul 18 17:00:59 2022 -0400
@@ -700,8 +700,8 @@
 
         pythonlib = None
 
-        dir = os.path.dirname(self.get_ext_fullpath('dummy'))
-        self.hgtarget = os.path.join(dir, 'hg')
+        dirname = os.path.dirname(self.get_ext_fullpath('dummy'))
+        self.hgtarget = os.path.join(dirname, 'hg')
 
         if getattr(sys, 'dllhandle', None):
             # Different Python installs can have different Python library