Menu

#19 python3 support

unread
nobody
None
5
2023-07-02
2022-03-12
No

It looks medit uses python 2.x to generate several files.

I've just modified python scripts in tools dir to make them generate the same files using python 3.x for pkgsrc, as an attached diff.

I would like to share this change with other medit users.

Thanks,

1 Attachments

Discussion

  • Photon

    Photon - 2022-07-30

    Hi, thanks for the patch, I'm also looking into getting rid of python2 in Medit! However, as far as I understand, this involves getting rid of PyGTK, at least in the distro I am using (Arch Linux) python2 is a dependency for PyGTK. I assume, the patch doesn't take care of getting rid of PyGTK, does it?

     
    • Izumi Tsutsui

      Izumi Tsutsui - 2023-07-01

      AFAIK medit doesn't require PyGTK, at least in pkgsrc.
      https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/editors/medit/index.html

      Actually medit works without PyGTK (though GIMP still requires PyGTK).

       
      • Photon

        Photon - 2023-07-02

        I think, it is needed for the integrated terminal widget (and possibly for some more small things) but the core functionality works without PyGTK indeed.

         

Log in to post a comment.