Re: Advice needed on howto take care about scikits.*
On Wed, 31 Mar 2010, Josselin Mouette wrote: > Don’t they work correctly if you ship an empty __init__.py file instead? I dunno what I did wrong originally but I was sure that it doesn't work then... well -- I was wrong seems. tested -- works just fine > (I have no idea what declare_namespace does.) allows modules under the same namespace be loaded from different paths. here is a dummy bash script to demonstrate: mkdir -p p1/{,n}s/m1 p2/{,n}s/m2 echo "Just modules -- plane __init__" touch {p1/s{,/m1},p2/s{,/m2}}/__init__.py PYTHONPATH=p1:p2 python -c 'import s.m1; print s.m1.__file__; import s.m2; print s.m2.__file__' echo "Namespaces" touch {p1/ns/m1,p2/ns/m2}/__init__.py for d in p*/ns; do echo -e 'import pkg_resources\npkg_resources.declare_namespace(__name__)' > $d/__init__.py > $d/__init__.py done PYTHONPATH=p1:p2 python -c 'import ns.m1; print ns.m1.__file__; import ns.m2; print ns.m2.__file__' should output smth like Just modules -- plane __init__ /home/yoh/trash/pnamespaces/p1/s/m1/__init__.py Traceback (most recent call last): File "", line 1, in ImportError: No module named m2 Namespaces /home/yoh/trash/pnamespaces/p1/ns/m1/__init__.py /home/yoh/trash/pnamespaces/p2/ns/m2/__init__.py > If so, you can rely on python-support creating that file automatically. yeap -- does it fine ;) So I will proceed this way -- .-. =-- /v\ = Keep in touch// \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User^^-^^[17] -- 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/20100401172500.gu8...@onerussian.com
Re: Join the PMPT
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi David, David Watson, 2010-04-01 11:43: > I have already created packages for celery 0.8.0 a while ago, which we > needed for a project in work. I have since then almost finished > updating the packages to 1.0 and will be uploading it once I have > finished testing it. Shouldn't we then try to join our efforts? Jakub Wilk already uploaded django-picklefield-0.1.4 for me yesterday. My celery package can currently be found in my personal repo: http://debian.fladi.at/pool/main/c/celery/ This is not the latest upstream version as I'm working on 1.0.2 for an upload to mentors. Do you plan on packaging the dependencies for the testsuite, like nose-cover3, unittest2 and django-nose? Regards, Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAku0hAkACgkQeJ3z1zFMUGYXzACgkUBSs6qg3dCe3IAfkufZ4zZy LlYAnRCcM6tPP/A71amxW8OFRrDthK2C =CKlA -END PGP SIGNATURE- -- 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/4bb48409.1040...@fladi.at
Re: source format 3.0
* Michael Fladischer , 2010-04-01, 11:43: As I'm using source format 3.0 for my packages, I discovered today that svn-buildpackage does not support the new format. Am I right with this one? I've found #388567 whch contains a patch. How do you handle the new format? Did you apply the patch? Is there another way? Yes, you can inject your package manually: http://wiki.debian.org/PAPT_Howto#manually (Don't forget to replace python-apps with python-modules.) -- Jakub Wilk signature.asc Description: Digital signature
Re: Join the PMPT
On Thu, 2010-04-01 at 08:57 +0200, Michael Fladischer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi guys, > > I'd like to join the PMPT in order to work on various python-django > extensions. > I only have one package uploaded so far[1] but I'd like to bring > Celery[2] into Debian. This requires some dependencies on python modules > that are yet still missing in Debian, billiard[3][4] is one for example. > > I already read through [5] and my alioth account is fladi-guest. > > Regards, > Michael > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573162 > [2] http://celeryproject.org/ > [3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571656 > [4] http://mentors.debian.net/debian/pool/main/b/billiard/ > [5] http://python-modules.alioth.debian.org/python-modules-policy.html Hi Michael, I have already created packages for celery 0.8.0 a while ago, which we needed for a project in work. I have since then almost finished updating the packages to 1.0 and will be uploading it once I have finished testing it. -- David Watson - Debian GNU/Linux Developer da...@planetwatson.co.uk, dwat...@debian.org Jabber: dwat...@planetwatson.co.uk Web: http://planetwatson.co.uk/blog -- 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/1270115001.2844.8.ca...@mavro
Re: source format 3.0
Hi Michael, On Thu, Apr 1, 2010 at 11:43, Michael Fladischer wrote: > As I'm using source format 3.0 for my packages, I discovered today that > svn-buildpackage does not support the new format. Am I right with this one? svn-inject doesn't support it (yet), but svn-bp should. > I've found #388567 whch contains a patch. How do you handle the new > format? Did you apply the patch? Is there another way? just prepare the first package in 1.0 format, inject and then switch to 3.0 Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- 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/x2m8b2d7b4d1004010249nd053ba22rbcce497b18d2f...@mail.gmail.com
source format 3.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, As I'm using source format 3.0 for my packages, I discovered today that svn-buildpackage does not support the new format. Am I right with this one? I've found #388567 whch contains a patch. How do you handle the new format? Did you apply the patch? Is there another way? Regards, Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAku0aq4ACgkQeJ3z1zFMUGapvQCfS/wo6c3FkjjDdO3BLfqlG4FP /xEAn2vpwUg2qRLicxaRURQ8iTbkgXuF =vyjA -END PGP SIGNATURE- -- 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/hp1prf$l9...@dough.gmane.org
Re: Join the PMPT
[Michael Fladischer, 2010-04-01] > I'd like to join the PMPT in order to work on various python-django > extensions. > I only have one package uploaded so far[1] but I'd like to bring > Celery[2] into Debian. This requires some dependencies on python modules > that are yet still missing in Debian, billiard[3][4] is one for example. > > I already read through [5] and my alioth account is fladi-guest. Welcome in the team! :) You can find some hints on this[1] wiki page. [1] http://wiki.debian.org/Teams/PythonModulesTeam/HowToJoin -- 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/20100401083328.gz6...@piotro.eu
Re: python 2.6 deb for lenny ?
Hi, On Tue, 30.03.2010 at 18:51:48 +0200, Sandro Tosi wrote: > On Tue, Mar 30, 2010 at 17:00, Hermann Lauer > wrote: > > probably this is not the right place, but knows anybody of > > a way to build .deb packacks for python 2.6 on lenny ? > > The usually right move would be to write to the package maintainer. > But given Python maintainer doesn't talk to anybody, you did the right > choice and contacted us. > > > Installing 2.6 from testing fails after unpackaging in the scripts > > if you can cut&paste the error would be better. > > > and compiling the deb-source from testing fails in the documentation > > with sphinx errors (see below. similar errors with lennys sphinx > > deinstalled, > > which 0.4 is said to bee to old) > > you should backport also python-sphinx from testing/unstable to lenny, > maybe also python-docutils. I'm sorry to say that I forgot to upload my semi-broken attempts - just "fixed" it - maybe they still provide a useful starting point: > http://people.debian.org/~toni/python2.6/ Please send feedback my way! -- Kind regards, --Toni++ -- 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/20100401082739.7275.qm...@oak.oeko.net
Join the PMPT
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, I'd like to join the PMPT in order to work on various python-django extensions. I only have one package uploaded so far[1] but I'd like to bring Celery[2] into Debian. This requires some dependencies on python modules that are yet still missing in Debian, billiard[3][4] is one for example. I already read through [5] and my alioth account is fladi-guest. Regards, Michael [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573162 [2] http://celeryproject.org/ [3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571656 [4] http://mentors.debian.net/debian/pool/main/b/billiard/ [5] http://python-modules.alioth.debian.org/python-modules-policy.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAku0Q8cACgkQeJ3z1zFMUGZthQCgkzeiHpin4KP0rF3879OF/SZq cyUAn2bizJqhR5WJtDgr6fzxPlOPcm3D =ZWQi -END PGP SIGNATURE- -- 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/4bb443c8.5090...@fladi.at