[Sugar-devel] Sugar bundleBuilder
Alan Jhonn Aguiar Schwyn
alanjas at hotmail.com
Mon Mar 4 12:51:24 EST 2013
You try remove the folder from GIT (and make a commit) and make the .xo again?
Date: Mon, 4 Mar 2013 11:48:43 -0600
From: nicestep at gmail.com
To: alanjas at hotmail.com
CC: dwnarvaez at gmail.com; sugar-devel at lists.sugarlabs.org
Subject: Re: [Sugar-devel] Sugar bundleBuilder
Yes, my problem was that my locale directory is in Git. Back when we were using MANIFEST that might have been normal.
Daniel has given me enough info to update my book, and since FLOSS Manuals are made with a Wiki I probably will be able to make a Diff.
James Simmons
On Mon, Mar 4, 2013 at 11:19 AM, Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com> wrote:
> On 2 March 2013 04:04, Alan Jhonn Aguiar Schwyn <alanjas at hotmail.com> wrote:
> > Hi,
> >
> > I found a problem with bundlebuilder (sugar-toolkit) when use "dist_xo" out
> > of git. The locale folder adds twice times the same .mo and the same .linfo.
> > The problem is easy solved, but exist some ways.
> > Basically: when execute the command, the .po are compiled. After, when
> > no git -> use list_files function (that returns all files including the
> > locale
> > folder files).
> > In the package function, the files of get_files_in_git are add to the .zip
>
> Where is the duplication? get_files_in_git should not include anything
> inside locale/, list_files should include only stuff in locale/...
The problem seems appears in the case that you have locale folder include in git
(james problem?)
and when you execute the ./setup.py dist_xo outisde of the git folder (for example, you have
a makefile or script that creates a folder tmp and build inside of it)
_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130304/cbcbd75b/attachment-0001.html>
More information about the Sugar-devel
mailing list