From 9468226a9e2e2ab8cdd599f1d8538e860ca86120 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Sun, 13 Nov 2022 23:46:45 +0530 Subject: id card generator --- env/lib/python3.10/site-packages/setuptools/_path.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 env/lib/python3.10/site-packages/setuptools/_path.py (limited to 'env/lib/python3.10/site-packages/setuptools/_path.py') diff --git a/env/lib/python3.10/site-packages/setuptools/_path.py b/env/lib/python3.10/site-packages/setuptools/_path.py new file mode 100644 index 0000000..ede9cb0 --- /dev/null +++ b/env/lib/python3.10/site-packages/setuptools/_path.py @@ -0,0 +1,7 @@ +import os + + +def ensure_directory(path): + """Ensure that the parent directory of `path` exists""" + dirname = os.path.dirname(path) + os.makedirs(dirname, exist_ok=True) -- cgit v1.2.3-59-g8ed1b