[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I add support for python3 to my package?



On Thu, Nov 17, 2011 at 7:55 PM, Stefano Rivera wrote:
> Hi Paul (2011.11.17_12:05:46_+0200)
>> I created a package with py2dsc. After some tweeks, it works correctly. The
>> upstream says package also works with python 3. How do I alter my source
>> package to also produce a python 3 version?
>
> That's currently non-trivial, and certainly not in the realm of things
> py2dsc can safely do, yet.
>
> Basically, you'd need to override all the dh_auto_* rules to loop over
> all supported python2 and python3 versions.
>
> If you don't need the python3 version, yet, I'd ignore this until the
> tools improve.

Would dh --with python2,python3 not work? I've seen that in some packages IIRC.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: