setup.py
changeset 45939 66f6ca2b7aee
parent 45933 2960b7fac966
child 45942 89a2afe31e82
equal deleted inserted replaced
45938:f5d62f4d5327 45939:66f6ca2b7aee
   814                 # without tampering with PATH.
   814                 # without tampering with PATH.
   815                 fsdecode = lambda x: x
   815                 fsdecode = lambda x: x
   816                 if sys.version_info[0] >= 3:
   816                 if sys.version_info[0] >= 3:
   817                     fsdecode = os.fsdecode
   817                     fsdecode = os.fsdecode
   818                 dest = os.path.join(
   818                 dest = os.path.join(
   819                     os.path.dirname(self.hgtarget),
   819                     os.path.dirname(self.hgtarget), fsdecode(dllbasename),
   820                     fsdecode(dllbasename),
       
   821                 )
   820                 )
   822 
   821 
   823                 if not os.path.exists(dest):
   822                 if not os.path.exists(dest):
   824                     shutil.copy(buf.value, dest)
   823                     shutil.copy(buf.value, dest)
   825 
   824