Debian and .pth files

2015-03-23 Thread Kay Hayen
Hello there, I have recently encountered the strangeness of ".pth" files, and am surprised that Debian uses the dynamic code variants too: cat /usr/lib/python2.7/dist-packages/zope.interface-4.1.1-nspkg.pth import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('zope',));i

Re: RFS nuitka

2012-01-02 Thread Kay Hayen
Hello Yaroslav, you wrote: * once I had wrote a little helper for myself http://anonscm.debian.org/viewvc/pkg-exppsy/tools/dh_wraporig?view=markup which I had used for many cases like this, it was also autogenerating README.Debian-source which summarized the changes That looks in

Re: RFS nuitka

2012-01-02 Thread Kay Hayen
Hello Jakub, you wrote: ii (somewhat preferable). remove scons from within .orig.tar.gz I disagree that (ii) is preferable. You should not repack upstream source unless you have to. (Please see ftp-master's reject FAQ.) Thanks for the pointer, I looked at it. (optionally add +dfsg or .df

Re: RFS nuitka

2012-01-02 Thread Kay Hayen
eve that? I mean other than to copy them to both? For now I copied them over (it's only 2), but I am curious if there is a better way. Thanks again, Kay Hayen -- 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/4f020acc.2010...@gmx.de

RFS nuitka

2011-12-31 Thread Kay Hayen
Dear Debian Python Team, I am out of review comments for the package of mine: * Package name: nuitka Version : 0.3.17pre2-1 Upstream Author : Kay Hayen * URL : http://nuitka.net * License : GPLv3 Section : python It builds those binary

Re: Packaging pypy

2011-11-30 Thread Kay Hayen
Hello Thomas, It could turn every "module.py" into a "module.so" with more or less dubious benefits. Note that there are a few differences between compiled and pure Python modules. E.g. - Tracebacks to errors won't show code from compiled files. That is only if the ".py" file doe

Re: Packaging pypy

2011-11-30 Thread Kay Hayen
Hello Stefano, Am 30.11.2011 20:59, schrieb Stefano Rivera: Hi Kay (2011.11.30_21:01:01_+0200) The logical follow up is, how about X-Alternate-Python-Stacks ? I was contemplating that long term, once Nuitka is really a useful accelerator, it should be allowed to compile modules, whole packag

Re: Packaging pypy

2011-11-30 Thread Kay Hayen
Hello, Am 30.11.2011 17:54, schrieb Stefano Rivera: We'd probably want something like X-PyPy-Version to state PyPy support. The logical follow up is, how about X-Alternate-Python-Stacks ? I was contemplating that long term, once Nuitka is really a useful accelerator, it should be allowed to

Re: Request for Review - Nuitka the Python compiler (status update, more questions)

2011-11-16 Thread Kay Hayen
Hello, So that is it, I don't know anymore of things to do. What about a manpage, is it considered mandatory? The man page exists and even has an examples section added for the typical use cases. I am totally surprised at how easy that was. An absolute thumbs up to help2man from here, brilli

Re: Request for Review - Nuitka the Python compiler (status update, more questions)

2011-11-16 Thread Kay Hayen
I wrote: Anybody has any experience with generating manpages from optparse? [...] If anybody does that already, people on this list likely know. Looking at cything, I found help2man, which is what cython package uses, great stuff. Of course, no need to be any Python specific. Yours, K

Re: Request for Review - Nuitka the Python compiler (status update, more questions)

2011-11-16 Thread Kay Hayen
Am 16.11.2011 10:41, schrieb Nicolas Chauvat: So that is it, I don't know anymore of things to do. What about a manpage, is it considered mandatory? It is always better to have one. Do you know about rst2man that can generate a man page from restructuredtext ? Yes, I will use it. I already u

Re: Request for Review - Nuitka the Python compiler (status update, more questions)

2011-11-16 Thread Kay Hayen
Hello, I created an ITP for Nuitka here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648489 Should I add some link to the debian packages there? 1. The "dch" is not picking up my email address, unlike "reportbug", kind of annoying. Solved. 2. I would like to remove the "inline_co

Re: Request for Review - Nuitka the Python compiler

2011-11-15 Thread Kay Hayen
Hello Nicolas, On Tue, Nov 15, 2011 at 11:59:56PM +0100, Kay Hayen wrote: Oh collective Debian-Python Brainpower, tell me a good name but "nuitka" for said binary. :-) Reading the doc I understand that "Python" == "Nuitka.py --execute". Am I correct ? It&#

Re: Request for Review - Nuitka the Python compiler

2011-11-15 Thread Kay Hayen
Hello Nicolas, you wrote: On Sat, Nov 12, 2011 at 10:50:13PM +0100, Jakub Wilk wrote: * Paul Boddie, 2011-11-12, 15:08: c) I renamed "Nuitka.py" to a "nuitka" binary. I am keeping the drop-in replacement as "Python" though. I don't think it's wise to call it "Python", Agreed, this is bad

Re: Request for Review - Nuitka the Python compiler

2011-11-13 Thread Kay Hayen
Hello Stefano, Am 12.11.2011 22:16, schrieb Stefano Rivera: Hi Kay (2011.11.12_23:01:43_+0200) More or less stolen from "/usr/bin/hg" which does something similar. I have hooked distutils to modify the scripts and replace @LIBDIR@ for the binary distributions. I disabled that in mercurial in

Re: Request for Review - Nuitka the Python compiler

2011-11-12 Thread Kay Hayen
Hello Paul, Am 12.11.2011 15:08, schrieb Paul Boddie: On Saturday 12 November 2011 09:55:39 Kay Hayen wrote: I created an ITP for Nuitka here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648489 I've been following Nuitka, and I think it's great to see how it has progressed

Request for Review - Nuitka the Python compiler

2011-11-12 Thread Kay Hayen
uot; though. d) I have used "py2dsc -m "Kay Hayen " Nuitka-0.3.15pre2.tar.gz" on what the dist directory gives me. I have then edited, the debian directory according to the tutorial. e) I have resolved the collision of the binary and package name not by renaming it, I wouldn

Re: Request for packaging - Nuitka the Python Compiler

2011-10-13 Thread Kay Hayen
Am 13.10.2011 09:24, schrieb Paul Wise: On Thu, 2011-10-13 at 09:18 +0200, Nicolas Chauvat wrote: If and only if you were to consider replacing SCons, take a look at waf that has many qualities. http://code.google.com/p/waf/ Please do not look at waf, it is worse than scons, which is why it w

Re: Request for packaging - Nuitka the Python Compiler

2011-10-12 Thread Kay Hayen
Hello Yaroslav, Since everyone seems to be busy and since you are an experienced Debian user -- would you consider trying to package it yourself? it is really not a rocket science I must admit, I am a bit scared at that perspective. Creating the compiler itself is a huge task. Adding to tha

Re: Request for packaging - Nuitka the Python Compiler

2011-10-12 Thread Kay Hayen
Hello Jakub, http://www.nuitka.net/blog/nuitka-a-python-compiler/what-is-nuitka/ How is it different/better than pure-Python[0] mode of Cython? It's more compatible to CPython than anything that exists. Nuitka passes practically 100% of the test suite. Currently I don't have support for th

Request for packaging - Nuitka the Python Compiler

2011-10-09 Thread Kay Hayen
Hello, I am the upstream developer of Nuitka and am seeking somebody to package Nuitka for Debian. It's a Python compiler with near complete and unprecedented compatibility: http://www.nuitka.net/blog/nuitka-a-python-compiler/what-is-nuitka/ I have recently adopted a "git flow" model, where