Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9961

Re: Can't exec "pyversions"

From Ondrej Tuma <konference@webjet.cz>
Newsgroups linux.debian.maint.python
Subject Re: Can't exec "pyversions"
Date 2017-10-27 08:20 +0200
Message-ID <uF69Q-7WE-9@gated-at.bofh.it> (permalink)
References <uEXgd-1Ma-5@gated-at.bofh.it> <uF0QN-4cP-5@gated-at.bofh.it>
Organization Blackmouse

Show all headers | View raw


Yes, 

but how can I tell to dh_ to use py3versions instead of pyversions ?

I only found discussion for bug #597105 from 2010. One solution is
define own rules to use py3versions. So, is there another clearer and
simple solution, like variable in deian control, or set some
environment variable in debian/rules, like PYVERSIONS=py3versions?

Ondrej T

V Fri, 27 Oct 2017 00:23:02 +0000
Scott Kitterman <debian@kitterman.com> napsáno:

> Use py3versions for Python3.
> 
> Scott K
> 
> On October 26, 2017 4:46:56 PM EDT, Ondrej Tuma
> <konference@webjet.cz> wrote:
> >Hi there,
> >
> >i try to create my first official debian package of my Formiko
> >application. So Formiko is gui application, and i want to create
> >package with python3. But when i try build package with sbuild, I got
> >error:
> > 
> >Can't exec "pyversions": No such file or directory ...
> >
> >What i see, pyversions is in python-minimal package, but in control I
> >have Build-Depends only on python3. I know, that i solve the problem
> >simple adding python or python-all etc. But Is there another better
> >way how create python3 application package without python2x?
> >
> >I set X-Python3-Version: >= 3.2 in debian/control and in
> >debian/rules I have:
> >	dh $@ --with python3
> >
> >Thanks a lot for your help.  
> 



-- 
Ondřej Tůma <mcbig@zeropage.cz>
www: http://ipv6.mcbig.cz   jabber: mcbig@jabber.cz   twitter: mcbig_cz

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can't exec "pyversions" Ondrej Tuma <konference@webjet.cz> - 2017-10-26 22:50 +0200
  Re: Can't exec "pyversions" Scott Kitterman <debian@kitterman.com> - 2017-10-27 02:40 +0200
    Re: Can't exec "pyversions" Ondrej Tuma <konference@webjet.cz> - 2017-10-27 08:20 +0200
      Re: Can't exec "pyversions" Dmitry Shachnev <mitya57@debian.org> - 2017-10-27 09:10 +0200

csiph-web