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

Johannes ichhabekeineemail at gmx.net
Tue May 19 16:18:14 UTC 2015


Hey,

On 18.05.2015 16:41, Andreas Tille wrote:
> 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.

amazing, I not find anything about that. Is this in Trunk? I checked the 
debian 0.22 and 0.33.

>
>> 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?
>

Do i get it right, its all about the hl7?  What about the straight 
forward way, setting __requires__ iff sys.version > '3'?

bg,
Johannes

> Kind regards
>
>          Andreas.
>




More information about the py3porters-devel mailing list