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

Re: Bug#595410: pytagsfs: python2.5 shebangs



[Ritesh Raj Sarraf, 2010-09-08]
> On Saturday 04 Sep 2010 00:15:36 Jakub Wilk wrote:
> > /usr/bin/pytags{,fs} have #!/usr/bin/python2.5 shebangs. Please make 
> > them unversioned.
[...]
> If I just call python interpreter to build, the shebang used is 
> #!/usr/bin/python whereas the way it is defined in the rules, it calls 
> available python version. IIRC, we did this to support multiple version.

if pytags{,fs} *do* support default Python version and setup.py uses
setuptools, use something like this in debian/rules:

   python$* setup.py build_scripts--executable=/usr/bin/python

(before setup.py install call) or simply replace it later with sed
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: