Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-008
/
slot-030
/
4592fc35ba09ab49db01eac18b8c925a947ea6d8
/
.
/
venv
/
lib
/
python3.10
/
site-packages
/
setuptools
/
_path.py
blob: ede9cb002791abf64fe13c146d12ff0ad0505c4e [
file
] [
log
] [
blame
]
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
)