setup: stop shadowing the builtin `dir` symbol
I hit this when debugging what's available on the compiler.
--- 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