File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,24 +165,27 @@ def _download_jquery_to(dest):
165165
166166
167167# Relying on versioneer's implementation detail.
168- class sdist_with_jquery (cmdclass ['sdist' ]):
168+ _orgin_sdist = cmdclass ['sdist' ]
169+
170+
171+ class sdist_with_jquery (_orgin_sdist ):
169172 def make_release_tree (self , base_dir , files ):
170- super ( sdist_with_jquery , self ) .make_release_tree (base_dir , files )
173+ _orgin_sdist .make_release_tree (self , base_dir , files )
171174 _download_jquery_to (
172175 os .path .join (base_dir , "lib/matplotlib/backends/web_backend/" ))
173176
174177
175178# Affects install and bdist_wheel.
176179class install_lib_with_jquery (InstallLibCommand ):
177180 def run (self ):
178- super ( install_lib_with_jquery , self ) .run ()
181+ InstallLibCommand .run (self )
179182 _download_jquery_to (
180183 os .path .join (self .install_dir , "matplotlib/backends/web_backend/" ))
181184
182185
183186class develop_with_jquery (DevelopCommand ):
184187 def run (self ):
185- super ( develop_with_jquery , self ) .run ()
188+ DevelopCommand .run (self )
186189 _download_jquery_to ("lib/matplotlib/backends/web_backend/" )
187190
188191
You can’t perform that action at this time.
0 commit comments