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 bdfd2ff commit ff16e05Copy full SHA for ff16e05
setup.py
@@ -216,8 +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(
- Path(self.build_lib, "matplotlib/mpl-data/matplotlibrc"))
221
+ Path(base_dir, "matplotlib/mpl-data/matplotlibrc"))
222
223
224
class Sdist(setuptools.command.sdist.sdist):
0 commit comments