%PDF- %PDF-
| Direktori : /backups/router/usr/local/lib/python3.11/site-packages/setuptools/ |
| Current File : //backups/router/usr/local/lib/python3.11/site-packages/setuptools/_path.py |
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)