[py3porters-devel] Bug#782942: Please provide a python3 module

Andreas Tille tille at debian.org
Mon May 18 14:41:36 UTC 2015


Hi,

On Sun, Apr 19, 2015 at 03:02:39PM -0400, Paul Tagliamonte wrote:
> Package: python-hl7
> Severity: wishlist
> User: py3porters-devel at lists.alioth.debian.org
> Usertags: patchme-python3
> ...
> 
> As part of an ongoing process to migrate as much as we can to Python 3 to
> ensure we're ready for our glorious Python 3 future, please build a Python 3
> module.

This is fixed in SVN.
 
> If you need help doing this, please feel free to contact the Debian Python
> Modules Team (DPMT), and we can help! If you would welcome a NMU, please do
> let the team know (py3porters-devel at lists.alioth.debian.org).

I have one remaining question:  setup.py installs also a wrapper script
to /usr/bin and it does it for both, Python and Python3, with the same name.

In the python3 case it looks like

#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'hl7==0.3.2','console_scripts','mllp_send'
__requires__ = 'hl7==0.3.2'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('hl7==0.3.2', 'console_scripts', 'mllp_send')()
    )


for Python just the #! line points to /usr/bin/python.  This script would
create a conflict between the python-hl7 and python3-hl7 package which is
unneeded.  Do you have some advise what to do in cases like this?

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the py3porters-devel mailing list