[GRASS-dev] [GRASS GIS] #3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3

GRASS GIS trac at osgeo.org
Wed Dec 26 14:10:00 PST 2018


#3719: prepare OSGeo4W environment for winGRASS 7.8 with python 3
--------------------------+--------------------------
  Reporter:  hellik       |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  critical     |  Milestone:  7.8.0
 Component:  Python       |    Version:  svn-trunk
Resolution:               |   Keywords:  python3, py3
       CPU:  All          |   Platform:  MSWindows
--------------------------+--------------------------

Comment (by martinl):

 Replying to [comment:2 hellik]:
 > it seems, two python 2 packages are missing on the python 3 side in
 OSGeo4W

 {{{
 python-pil
 pyopengl
 }}}

 > are these packages still needed?

 PIL is required

 {{{
 ui/wxpython/mapwin/decorations.py:    from PIL import Image
 gui/wxpython/core/utils.py:        from PIL import Image
 gui/wxpython/psmap/utils.py:    from PIL import Image as PILImage
 gui/wxpython/animation/controller.py:                    from PIL import
 Image
 gui/wxpython/animation/utils.py:    from PIL import Image
 lib/python/imaging/operations.py:    from PIL import Image
 lib/python/imaging/operations.py:        from PIL import PILLOW_VERSION  #
 pylint: disable=unused-import
 lib/python/imaging/images2gif.py:    from PIL import Image
 lib/python/imaging/images2gif.py:        from PIL import PILLOW_VERSION  #
 test if user has Pillow or PIL
 lib/python/imaging/images2gif.py:    from PIL.GifImagePlugin import
 getheader, getdata
 }}}

 I am not sure `pyopengl`.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3719#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list