summaryrefslogtreecommitdiff
path: root/setuptools/command/dist_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/dist_info.py')
-rw-r--r--setuptools/command/dist_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/dist_info.py b/setuptools/command/dist_info.py
index 7f35a476..0685c945 100644
--- a/setuptools/command/dist_info.py
+++ b/setuptools/command/dist_info.py
@@ -80,7 +80,7 @@ class dist_info(Command):
@contextmanager
def _maybe_bkp_dir(self, dir_path: str, requires_bkp: bool):
if requires_bkp:
- bkp_name = f"__bkp__.{dir_path}.__bkp__"
+ bkp_name = f"{dir_path}.__bkp__"
_rm(bkp_name, ignore_errors=True)
_copy(dir_path, bkp_name, dirs_exist_ok=True, symlinks=True)
try: