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

Re: Move to python 2.4 / Changing the packaging style for python packages

On Mon, Jun 12, 2006 at 09:59:58PM -0700, Thomas Bushnell BSG wrote:
> Steve Langasek <vorlon@debian.org> writes:
> > AFAIR, a package
> > should not have to depend on python2.3 and python2.4; instead, applications
> > that need a specific version of the interpreter should depend on it
> > themselves.
> I hope that it will be possible for such apps to do it without
> specifying which version exactly (by declaring an appropriately
> versioned dependency on python).

Apps can do either:

    Package: foo
    Depends: python (>= 2.4), python-bar

    /usr/bin/foo: #!/usr/bin/env python


    Package: foo
    Depends: python2.4, python2.4-bar

    /usr/bin/foo: #!/usr/bin/env python2.4

depending on their needs.


Attachment: signature.asc
Description: Digital signature

Reply to: