Skip to content

Commit cdc7cb0

Browse files
orlitzkydimpase
authored andcommitted
src/sage/plot/plot3d/base.pyx: no native Windows paths
We're dropping Cygwin support, and in particular, the pycygwin library that handles these paths.
1 parent 3dbca81 commit cdc7cb0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sage/plot/plot3d/base.pyx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,8 @@ cdef class Graphics3d(SageObject):
285285
tachyon.png.save_as(preview_png)
286286
else:
287287
# Java needs absolute paths
288-
# On cygwin, they should be native ones
289288
scene_native = scene_zip
290289

291-
if sys.platform == 'cygwin':
292-
import cygwin
293-
scene_native = cygwin.cygpath(scene_native, 'w')
294-
295290
script = '''set defaultdirectory "{0}"\nscript SCRIPT\n'''.format(scene_native)
296291
jdata.export_image(targetfile=preview_png, datafile=script,
297292
image_type="PNG",

0 commit comments

Comments
 (0)