Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-008
/
slot-030
/
6216618ee5518193ccba05c8cea5261fc3ccdd2e
/
.
/
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
)