Re: Python packaging

2009-09-15 Thread Alessandro Dentella
On Tue, Sep 15, 2009 at 07:02:23AM +0200, Adrian von Bidder wrote:
> Heyho!
> 
> I'm fairly new to Python and absolutely new to packaging python stuff.  So 
> I'd be happy about a few comments [cc:s appreciated] or pointers to online 
> resources (sorry, I'm working mostly offline, so I've not looked beyong the 
> python policy.)
> 
> My small application needs python3 (yes, I realize this is just in 
> experimental.)
> 
> -> python-central vs. python-support: is one generally preferred over the 
> other, or is it just a matter of taste?  Does either already support 
> python3?  At least python-support appeared not to (it tried to byte-compile 
> with regular python despite the XS-Python-Version: >= 3.1 header being 
> present.

there has been a fairly long thread with title 'XS-Python-Version vs
pyversions ' some days ago, you may want to read it at:

  http://lists.debian.org/debian-python/2009/09/threads.html

> -> Policy says I should ship my (private) modules in /usr/share/.  
> How will Python find the modules?

i guess you must patch your application to add that to sys.path...

sandro
*:-)



-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.orgSQLkit home page - PyGTK/python/sqlalchemy


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Python packaging

2009-09-15 Thread Julian Andres Klode
On Tue, Sep 15, 2009 at 09:12:54AM +0200, Alessandro Dentella wrote:
> On Tue, Sep 15, 2009 at 07:02:23AM +0200, Adrian von Bidder wrote:
> > -> Policy says I should ship my (private) modules in /usr/share/.  
> > How will Python find the modules?
> 
> i guess you must patch your application to add that to sys.path...

Installing scripts into /usr/share/ and symlinking them
to /usr/{s,}bin is a bit easier.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Python packaging

2009-09-15 Thread Alessandro Dentella
On Tue, Sep 15, 2009 at 09:27:23AM +0200, Julian Andres Klode wrote:
> On Tue, Sep 15, 2009 at 09:12:54AM +0200, Alessandro Dentella wrote:
> > On Tue, Sep 15, 2009 at 07:02:23AM +0200, Adrian von Bidder wrote:
> > > -> Policy says I should ship my (private) modules in 
> > > /usr/share/.  
> > > How will Python find the modules?
> > 
> > i guess you must patch your application to add that to sys.path...
> 
> Installing scripts into /usr/share/ and symlinking them
> to /usr/{s,}bin is a bit easier.

He was talking about private modules that should be found by
python. Symlinking to /usr/{S,}bin wouldn't be any usefull in my opinion.

sandro
*:-)


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Python packaging

2009-09-15 Thread Adrian von Bidder
On Tuesday 15 September 2009 09.12:54 Alessandro Dentella wrote:
> there has been a fairly long thread with title 'XS-Python-Version vs
> pyversions ' some days ago, you may want to read it at:
> 
>   http://lists.debian.org/debian-python/2009/09/threads.html

Hmm.

Reading only the first few messages:
 -> there was a BoF where something was discussed
 -> the Python Toolchain maintainer isn't doing his Job
 -> some ignore what was discussed/decided/requested/demanded at that BoF
 -> what this actually was and why is in the minds of a few people and not 
written down.

I don't think I want to read that.

I guess I'll just cobble something together that installs on my system, then 
upload, and then react to bug reports.  I don't have time to help design a 
better Python policy and/or port the current one to Python3.

[still, thanks for the link]

cheers
-- vbi

[cc:s still appreciated.]

-- 
Example is not the main thing in influencing others.  It is the only thing.
-- Albert Schweitzer


signature.asc
Description: This is a digitally signed message part.


Re: Python packaging

2009-09-15 Thread Bernd Zeimetz
Adrian von Bidder wrote:

> Reading only the first few messages:
>  -> there was a BoF where something was discussed
>  -> the Python Toolchain maintainer isn't doing his Job
>  -> some ignore what was discussed/decided/requested/demanded at that BoF
>  -> what this actually was and why is in the minds of a few people and not 
> written down.
> 
> I don't think I want to read that.

Ack.
Probably do what most people (no, I didn't count them) seem to do:
Use python-support and debian/pyversions. And if you run into problems, you join
#debian-python on OFTC and just ask for help.


Cheers,

Bernd

-- 
 Bernd Zeimetz Debian GNU/Linux Developer
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: trac maintenance activity?

2009-09-15 Thread anatoly techtonik
On Fri, Sep 11, 2009 at 12:52 AM, W. Martin Borgert  wrote:

> http://packages.qa.debian.org/t/trac.html states
> git://git.debian.org/git/pkg-trac/trac.git
>
> If you like, feel free to try your luck! I would just leave the
> git history in git and start with the latest packaged trac
> version, but of course I'm not opposed if somebody else does the
> work :~)

I've decided not to convert git history - it contains a whole Trac
checkout from upstream repository and  the garbage it provides doesn't
worth the value.

-- 
anatoly t.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org