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 ff16e05 commit a925f04Copy full SHA for a925f04
setup.py
@@ -216,9 +216,9 @@ def update_matplotlibrc(path):
216
class BuildPy(setuptools.command.build_py.build_py):
217
def run(self):
218
super().run()
219
- base_dir = "lib" if self.editable_mode else self.build_lib
220
- update_matplotlibrc(
221
- Path(base_dir, "matplotlib/mpl-data/matplotlibrc"))
+ if not self.editable_mode:
+ update_matplotlibrc(
+ Path(self.build_lib, "matplotlib/mpl-data/matplotlibrc"))
222
223
224
class Sdist(setuptools.command.sdist.sdist):
0 commit comments