File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -282,8 +282,10 @@ def find_tarball_for_platform(self):
282282 Dictionary with tarball info, or None if no suitable tarball found.
283283 The dictionary contains the same fields as tarballs_info entries.
284284 """
285- import subprocess
286285 import json
286+ import subprocess
287+
288+ from sage_bootstrap .env import SAGE_ROOT
287289
288290 if not self .__tarballs_info :
289291 return None
@@ -293,7 +295,6 @@ def find_tarball_for_platform(self):
293295 return self .__tarballs_info [0 ]
294296
295297 # Get compatible tags from Sage's Python using packaging.tags
296- from sage_bootstrap .env import SAGE_ROOT
297298 sage_script = os .path .join (SAGE_ROOT , 'sage' )
298299 if not os .path .exists (sage_script ):
299300 raise RuntimeError ('Sage script not found at: {0}' .format (sage_script ))
You can’t perform that action at this time.
0 commit comments