On Thu, 09 Aug 2012 17:37:01 +0200, gregor herrmann wrote: > > I'm no python expert and only did the NMU upload for > > nautilus-image-manipulator recently, but I have found that e.g. > > google-apps-manager does [1,2] for python2.6 'compatibility': > > > > [1]: http://code.google.com/p/google-apps-manager/issues/detail?id=61 > > [2]: https://code.google.com/p/google-apps-manager/source/detail?r=253# > > > > Nice, I'm learning something about python by looking at bug reports > :) > > https://code.google.com/p/google-apps-manager/source/diff?spec=svn253&r=253&format=side&path=/trunk/gam.py > shows the diff.
But:
The error
| WARNING: the following files are not recognized by DistUtilsExtra.auto:
| Traceback (most recent call last):
| File "setup.py", line 86, in <module>
| cmdclass={'install': InstallAndUpdateDataDirectory}
| File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 107,
in setup
| if(sys.version_info.major < 3):
| AttributeError: 'tuple' object has no attribute 'major'
| dh_auto_clean: python2.6 setup.py clean -a returned exit code 1
| make: *** [clean] Error 1
in sid or in wheezy:
| Traceback (most recent call last):
| File "setup.py", line 86, in <module>
| cmdclass={'install': InstallAndUpdateDataDirectory}
| File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 98, in
setup
| __requires(attrs, src_all)
| File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 458,
in __requires
| __add_imports(imports, s, attrs)
| File "/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py", line 383,
in __add_imports
| if(sys.version_info.major < 3):
| AttributeError: 'tuple' object has no attribute 'major'
| dh_auto_build: python2.6 setup.py build --force returned exit code 1
| make: *** [build] Error 1
doesn't happen in these packages themselves but:
# ls -l /usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py
lrwxrwxrwx 1 root root 49 Aug 3 11:57
/usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py ->
../../../../share/pyshared/DistUtilsExtra/auto.py
# readlink -f /usr/lib/python2.6/dist-packages/DistUtilsExtra/auto.py
/usr/share/pyshared/DistUtilsExtra/auto.py
# dpkg -S /usr/share/pyshared/DistUtilsExtra/auto.py
python-distutils-extra: /usr/share/pyshared/DistUtilsExtra/auto.py
Should the bugs be reassigned? Someone with python knowledge needed
here :)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Beatles: Sgt. Pepper's Lonely Hearts Club Band
signature.asc
Description: Digital signature
-- Mailing list: https://launchpad.net/~linaro-pkg Post to : [email protected] Unsubscribe : https://launchpad.net/~linaro-pkg More help : https://help.launchpad.net/ListHelp

