<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>The setup.py uses the command: git ls-files<div>to get the list of files that you have.</div><div><br></div><div>If you not are in git, it uses the old system (check for all folders</div><div>and get the files).</div><div><br></div><div>One solution: create an .sh that copy your folder to another place and</div><div>remove the .git and .gitignore file, do and: python setup.py build (to build</div><div>the locale folder) and after, use the dist_xo or use a zip to make the XO.</div><div><br></div><div>Regards!</div><div><br></div><div>Alan</div><div><br></div><div>PD: which version of sugar or "sugar-emulator" you have?</div><div><br></div><div><br><div><div id="SkyDrivePlaceholder"></div>> Date: Fri, 15 Feb 2013 23:11:42 -0500<br>> From: walter.bender@gmail.com<br>> To: nicestep@gmail.com<br>> CC: sugar-devel@lists.sugarlabs.org<br>> Subject: Re: [Sugar-devel] setup.py not including bookcatalog.txt in Read Etexts XO file<br>> <br>> Is bookcatalog.txt in your git repository? MANIFEST is long<br>> deprecated. setup.py looks to git to know what to include.<br>> <br>> regards.<br>> <br>> -walter<br>> <br>> On Fri, Feb 15, 2013 at 10:24 PM, James Simmons <nicestep@gmail.com> wrote:<br>> > I just updated my laptop to the latest release of Sugar so I could test my<br>> > latest xo file for Read Etexts. What I discovered is that when you enter<br>> ><br>> > ./setup.py dist_xo<br>> ><br>> > the file created does NOT contain bookcatalog.txt, even though that is<br>> > listed in MANIFEST but does contain .gitignore which is NOT in MANIFEST.<br>> > The activity needs to contain bookcatalog.txt to work. This file is NOT in<br>> > the Git repository. It needs to be recreated from files downloaded from<br>> > Project Gutenberg and PG Australia. It doesn't make sense to put it into<br>> > Git because it is a data file. However, Read Etexts won't work without it.<br>> ><br>> > In the past setup.py always put this file in my .xo and I'm wondering why it<br>> > isn't doing it now.<br>> ><br>> > Thanks,<br>> ><br>> > James Simmons<br>> ><br>> ><br>> > _______________________________________________<br>> > Sugar-devel mailing list<br>> > Sugar-devel@lists.sugarlabs.org<br>> > http://lists.sugarlabs.org/listinfo/sugar-devel<br>> ><br>> <br>> <br>> <br>> -- <br>> Walter Bender<br>> Sugar Labs<br>> http://www.sugarlabs.org<br>> _______________________________________________<br>> Sugar-devel mailing list<br>> Sugar-devel@lists.sugarlabs.org<br>> http://lists.sugarlabs.org/listinfo/sugar-devel<br></div></div> </div></body>
</html>