File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -165,24 +165,27 @@ def _download_jquery_to(dest):
165
165
166
166
167
167
# 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 ):
169
172
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 )
171
174
_download_jquery_to (
172
175
os .path .join (base_dir , "lib/matplotlib/backends/web_backend/" ))
173
176
174
177
175
178
# Affects install and bdist_wheel.
176
179
class install_lib_with_jquery (InstallLibCommand ):
177
180
def run (self ):
178
- super ( install_lib_with_jquery , self ) .run ()
181
+ InstallLibCommand .run (self )
179
182
_download_jquery_to (
180
183
os .path .join (self .install_dir , "matplotlib/backends/web_backend/" ))
181
184
182
185
183
186
class develop_with_jquery (DevelopCommand ):
184
187
def run (self ):
185
- super ( develop_with_jquery , self ) .run ()
188
+ DevelopCommand .run (self )
186
189
_download_jquery_to ("lib/matplotlib/backends/web_backend/" )
187
190
188
191
You can’t perform that action at this time.
0 commit comments