We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2f261 commit a08bf5bCopy full SHA for a08bf5b
setup.py
@@ -152,14 +152,14 @@ def initialize_options(self) -> None:
152
".orig",
153
):
154
self._clean_me.append(filepath)
155
- self._clean_trees.append(pjoin(root, d) for d in dirs if d == "__pycache__")
+ self._clean_trees.extend([pjoin(root, d) for d in dirs if d == "__pycache__"])
156
157
# clean the generated pxi files
158
for pxifile in _pxifiles:
159
pxifile_replaced = pxifile.replace(".pxi.in", ".pxi")
160
self._clean_me.append(pxifile_replaced)
161
162
- self._clean_trees.append(d for d in ("build", "dist") if os.path.exists(d))
+ self._clean_trees.extend([d for d in ("build", "dist") if os.path.exists(d)])
163
164
def finalize_options(self) -> None:
165
pass
0 commit comments