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

Re: Python dependency vraagje



Hoi Paul,

Het probleem is dat six niet voor python2.6 wordt gemaakt in Debian:

(pbuild1916) wollumbin python-ecdsa-0.10 # ll /usr/lib/python2.7/dist-packages/
total 56
drwxr-xr-x  2 root root  4096 Jan  3 08:29 .
drwxr-xr-x 26 root root 16384 Jan  3 07:43 ..
-rw-r--r--  1 root root   119 Jan  2  2013 README
lrwxrwxrwx  1 root root    34 Dec 26  2012 debconf.py -> ../../../share/pyshared/debconf.py
-rw-r--r--  1 root root  6013 Jan  3 07:43 debconf.pyc
lrwxrwxrwx  1 root root    42 Sep  4 05:50 six-1.4.1.egg-info -> ../../../share/pyshared/six-1.4.1.egg-info
lrwxrwxrwx  1 root root    30 Sep  4 05:50 six.py -> ../../../share/pyshared/six.py
-rw-r--r--  1 root root 20568 Jan  3 08:29 six.pyc
(pbuild1916) wollumbin python-ecdsa-0.10 # ll /usr/lib/python2.6/dist-packages/
total 32
drwxr-xr-x  2 root root  4096 Jan  3 08:29 .
drwxr-xr-x 23 root root 16384 Jan  3 07:43 ..
-rw-r--r--  1 root root   119 Jan 26  2013 README
lrwxrwxrwx  1 root root    34 Dec 26  2012 debconf.py -> ../../../share/pyshared/debconf.py
-rw-r--r--  1 root root  6058 Jan  3 07:43 debconf.pyc

Met een simpele "ln -s" werkt het wel:
(pbuild1916) wollumbin python-ecdsa-0.10 # cd /usr/lib/python2.6/dist-packages/
(pbuild1916) wollumbin dist-packages # ln -s ../../../share/pyshared/six-1.4.1.egg-info ./
(pbuild1916) wollumbin dist-packages # ln -s ../../../share/pyshared/six.py ./
(pbuild1916) wollumbin dist-packages # python2.6
Python 2.6.8 (unknown, Jan 26 2013, 14:35:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from six import print_
>>>

Bouwen gaat dan ook goed.

Paul


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: