Help!

how to package trac modules?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Python RSS
Next:  Congrats  
Author Message
Andreas Jellinghaus
External


Since: Sep 08, 2005
Posts: 18



PostPosted: Sat May 05, 2007 9:50 am    Post subject: how to package trac modules?
Archived from groups: linux>debian>maint>python (more info?)

Hi,

I'm trying to create packages of trac plugins at least
for local use (Account manager, web admin).

what is the best way to handle these?

http://trac.edgewall.org/wiki/TracPlugins
tells me they use ez_setup.py, but the whole automatic download stuff
is the opposite of the traditional debian way with orig.tar.gz.

also trac wants *.egg files in /usr/share/trac/plugins,
that seems to be very far off the debian python policy.

has anyone already looked into trac plugins? what is the best way to
handle these?

thanks for your help!

Regards, Andreas


--
To UNSUBSCRIBE, email to debian-python-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Andrew Straw
External


Since: Jun 07, 2006
Posts: 17



PostPosted: Sun May 06, 2007 3:20 am    Post subject: Re: how to package trac modules? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Andreas,

You may want to take a look at stdeb "Python to Debian source package
conversion utility" http://stdeb.python-hosting.com/

-Andrew

Andreas Jellinghaus wrote:
> Hi,
>
> I'm trying to create packages of trac plugins at least
> for local use (Account manager, web admin).
>
> what is the best way to handle these?
>
> http://trac.edgewall.org/wiki/TracPlugins
> tells me they use ez_setup.py, but the whole automatic download stuff
> is the opposite of the traditional debian way with orig.tar.gz.
>
> also trac wants *.egg files in /usr/share/trac/plugins,
> that seems to be very far off the debian python policy.
>
> has anyone already looked into trac plugins? what is the best way to
> handle these?
>
> thanks for your help!
>
> Regards, Andreas
>
>
>


--
To UNSUBSCRIBE, email to debian-python-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Josselin Mouette
External


Since: Nov 09, 2004
Posts: 1057



PostPosted: Mon May 07, 2007 10:40 am    Post subject: Re: how to package trac modules? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Le dimanche 06 mai 2007 à 10:25 +0200, Pierre Habouzit a écrit :
> > also trac wants *.egg files in /usr/share/trac/plugins,
> > that seems to be very far off the debian python policy.
>
> Well, hell no ! I don't think it's against the policy at all:
> /usr/share/trac/plugins is a private module path, hence it's OK to put
> .egg, .py or whatever. Though, when you'll use e.g. dh_pysupport, you'll
> have to pass it the path where you put your installed files as it won't
> be able to guess it, that's all.

Maybe we should make explicit in the policy that eggs must not be
shipped. They will happily ignored by python-{support,central} anyway.

You have to ship eggs in an unpacked format, with the .egg-info
directory. This way, they will be correctly handled.

--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Python All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum