Skip to content

Commit 69ce618

Browse files
committed
Explicitly clean the dist-info file
SCons will clean up the files inside that directory automatically but will not delete the directory.
1 parent 57621be commit 69ce618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/lsst/sconsUtils/scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def initialize(
145145
state.env.BuildETags()
146146
if cleanExt is None:
147147
cleanExt = r"*~ core core.[1-9]* *.so *.os *.o *.pyc *.pkgc"
148-
state.env.CleanTree(cleanExt, "__pycache__ .pytest_cache")
148+
state.env.CleanTree(cleanExt, "__pycache__ .pytest_cache *.dist-info")
149149
if versionModuleName is not None:
150150
try:
151151
versionModuleName = versionModuleName % "/".join(packageName.split("_"))

0 commit comments

Comments
 (0)