Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7793b7f

Browse filesBrowse files
committed
BLD: be more cautious about checking editable mode
It can be missing rather than false when invoke as $ pip install --no-build-isolation .
1 parent deb7b11 commit 7793b7f
Copy full SHA for 7793b7f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def update_matplotlibrc(path):
217217
class BuildPy(setuptools.command.build_py.build_py):
218218
def run(self):
219219
super().run()
220-
if not self.editable_mode:
220+
if not getattr(self, 'editable_mode', False):
221221
update_matplotlibrc(
222222
Path(self.build_lib, "matplotlib/mpl-data/matplotlibrc"))
223223

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.