Skip to content

Commit 91ca8c4

Browse files
orlitzkydimpase
authored andcommitted
src/sage/repl/rich_output/backend_ipython.py: no native Windows paths
We're dropping Cygwin support, and in particular, the pycygwin library that handles these paths.
1 parent cdc7cb0 commit 91ca8c4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/sage/repl/rich_output/backend_ipython.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -419,13 +419,6 @@ def threejs_offline_scripts(self):
419419

420420
script = os.path.join(THREEJS_DIR, '{}/three.min.js'.format(_required_threejs_version()))
421421

422-
if sys.platform == 'cygwin':
423-
import cygwin
424-
425-
def normpath(p):
426-
return 'file:///' + cygwin.cygpath(p, 'w').replace('\\', '/')
427-
script = normpath(script)
428-
429422
return '\n<script src="{0}"></script>'.format(script)
430423

431424

0 commit comments

Comments
 (0)