| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bdfd2ff commit ff16e05
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -216,8 +216,9 @@ def update_matplotlibrc(path): | |||
| 216 | 216 | class BuildPy(setuptools.command.build_py.build_py): | |
| 217 | 217 | def run(self): | |
| 218 | 218 | super().run() | |
| 219 | + base_dir = "lib" if self.editable_mode else self.build_lib | ||
| 219 | 220 | update_matplotlibrc( | |
| 220 | - Path(self.build_lib, "matplotlib/mpl-data/matplotlibrc")) | ||
| 221 | + Path(base_dir, "matplotlib/mpl-data/matplotlibrc")) | ||
| 221 | 222 | ||
| 222 | 223 | ||
| 223 | 224 | class Sdist(setuptools.command.sdist.sdist): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments