xpra icon
Bug tracker and wiki

Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#1891 closed defect (invalid)

Python3 build installs python2 scripts

Reported by: أحمد المحمودي Owned by: Antoine Martin
Priority: major Milestone: 2.4
Component: packaging Version: 2.3.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Pyyhon3 build installs the following python2 scripts:


Change History (2)

comment:1 Changed 21 months ago by Antoine Martin

Description: modified (diff)
Milestone: 2.4
Resolution: invalid
Status: newclosed

That is incorrect. This change must come from your build or packaging system:

$ sudo python3 ./setup.py install --prefix=/usr
$ sudo head -n 1 /usr/lib/cups/backend/xpraforwarder 
#!/usr/bin/env python


  • r19776 fixes the python3 compatibility for xpraforwarder
  • xdg-open and xpraforwarder will just end up exec-ing xpra, so they do not rely on any xpra modules directly - they should be able to run with both python2 or python3
  • xdg-open and xpraforwarder could be re-written in plain shell relatively easily
  • auth_dialog imports some xpra modules for its dialog (mostly the utility module that makes it GTK2 / GTK3 and python2 / python3 version agnostic), so it requires that the corresponding xpra modules are installed for the python version used to run it

comment:2 Changed 21 months ago by Antoine Martin

@aelmahmoudy: see ticket:1568#comment:21

Note: See TracTickets for help on using tickets.