[py3porters-devel] Round one - low hanging fruit for Debian Packaging

Alexandre Detiste alexandre.detiste at gmail.com
Fri Apr 17 15:59:42 UTC 2015


It seems pyflakes provide support for both python 2 &3 in a single .deb

> Ah yes, this list is packages that support py3 upstream but don't build
> .deb files for the py3 module yet
> 
> Code to port coming next :D
> On Apr 17, 2015 9:16 AM, "Zhi An Ng" <ngzhian at gmail.com> wrote:
> 
> > ./pool/main/p/pyflakes/pyflakes_0.8.1-1.json
> >
> > supports python3, should be removed from this list?

tchet at antec:~$ dpkg -L pyflakes | grep /usr/bin/
/usr/bin/pyflakes3
/usr/bin/pyflakes

tchet at antec:~$ cat /usr/bin/pyflakes
#!/usr/bin/python2.7
# EASY-INSTALL-ENTRY-SCRIPT: 'pyflakes==0.8.1','console_scripts','pyflakes'
__requires__ = 'pyflakes==0.8.1'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('pyflakes==0.8.1', 'console_scripts', 'pyflakes')()
    )

tchet at antec:~$ cat /usr/bin/pyflakes3
#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'pyflakes==0.8.1','console_scripts','pyflakes'
__requires__ = 'pyflakes==0.8.1'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('pyflakes==0.8.1', 'console_scripts', 'pyflakes')()
    )




More information about the py3porters-devel mailing list