Re: RC severity for Python 2.6 related bugs

2010-03-01 Thread Josselin Mouette
Le dimanche 28 février 2010 à 23:17 +0100, Vincent Bernat a écrit : 
> For whoever may be interested, I use this hook for pbuilder:
> 
> ,[ /etc/pbuilder/hooks/A10python2.6 ]
> | #!/bin/sh
> | 
> | [ ! -f /usr/bin/python ] || {
> |   apt-get install -y --force-yes python2.6
> |   ln -sf python2.6 /usr/bin/python
> |   sed -i 's/^default-version =.*/default-version = python2.6/g' \
> |  /usr/share/python/debian_defaults
> | }
> `

This doesn’t take into account the fact that for dependencies, the
python package itself should have a 2.6 version.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling


signature.asc
Description: Ceci est une partie de message numériquement signée


Re: (again) Why default python is not 2.6 yet?

2010-03-01 Thread Rene Engelhard
Hi,

On Wed, Feb 17, 2010 at 04:18:28PM +0100, Sandro Tosi wrote:
> That holds true any time we do the switch. So when should we change
> the default? the moment we freeze?

>From my personal POV you csn do now, I think the release team would
not agree, though ;-)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  r...@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100301131601.gb14...@rene-engelhard.de



files installed in /usr/shared/pyshared

2010-03-01 Thread Ritesh Raj Sarraf
Hi,

I noticed that some of the files from my package get installed into 
/usr/share/pyshared/

r...@champaran:~ $ dpkg -L apt-offline | grep pyshared
/usr/share/pyshared
/usr/share/pyshared/AptOfflineCoreLib.py
/usr/share/pyshared/AptOfflineLib.py
/usr/share/pyshared/AptOffline_urlutils.py
/usr/share/pyshared/AptOffline_reportbug_exceptions.py
/usr/share/pyshared/apt_offline-0.9.5.egg-info
/usr/share/pyshared/AptOfflineDebianBtsLib.py
/usr/share/pyshared/AptOfflineMagicLib.py



The rules is plain

r...@champaran:/tmp/apt-offline-0.9.6.1 $ cat debian/rules
#!/usr/bin/make -f

DH_VERBOSE=1

%:
dh $@



It calls a setup.py file.

My setup.py file too doesn't have much.

py_modules=['AptOfflineCoreLib',
'AptOfflineDebianBtsLib',
'AptOfflineLib',
'AptOfflineMagicLib',
'AptOffline_reportbug_exceptions',
'AptOffline_argparse',
'AptOffline_urlutils',],


What would be the right way to instruct installation into 
pyshared/$PACKAGE_NAME/ ??


I tried many changes to setup.py using --build-lib et cetera. But still the 
folder is not created. Any help is appreciated.

Regards,
Ritesh
-- 
Given the large number of mailing lists I follow, I request you to CC me
in replies for quicker response


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/7d2t57-qt6@news.researchut.com



Re: files installed in /usr/shared/pyshared

2010-03-01 Thread Piotr Ożarowski
[Ritesh Raj Sarraf, 2010-03-01]
> I noticed that some of the files from my package get installed into 
> /usr/share/pyshared/
[...]
> What would be the right way to instruct installation into 
> pyshared/$PACKAGE_NAME/ ??

Why do you want to install to pyshared/$PACKAGE_NAME/?

/usr/share/pyshared/ is the right location (dh_pycentral or dh_pysupport
will move files there at build time and symlink them to the final
location at install time)
-- 
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


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100301162335.gh21...@piotro.eu