Re: [Sugar-devel] setup.py not including bookcatalog.txt in Read Etexts XO file

2013-02-16 Thread Alan Jhonn Aguiar Schwyn
The setup.py uses the command:  git ls-filesto get the list of files that you 
have.
If you not are in git, it uses the old system (check for all foldersand get the 
files).
One solution: create an .sh that copy your folder to another place andremove 
the .git and .gitignore file, do and: python setup.py build (to buildthe locale 
folder) and after, use the dist_xo or use a zip to make the XO.
Regards!
Alan
PD: which version of sugar or sugar-emulator you have?

 Date: Fri, 15 Feb 2013 23:11:42 -0500
 From: walter.ben...@gmail.com
 To: nices...@gmail.com
 CC: sugar-devel@lists.sugarlabs.org
 Subject: Re: [Sugar-devel] setup.py not including bookcatalog.txt in Read 
 Etexts XO file
 
 Is bookcatalog.txt in your git repository? MANIFEST is long
 deprecated. setup.py looks to git to know what to include.
 
 regards.
 
 -walter
 
 On Fri, Feb 15, 2013 at 10:24 PM, James Simmons nices...@gmail.com wrote:
  I just updated my laptop to the latest release of Sugar so I could test my
  latest xo file for Read Etexts.  What I discovered is that when you enter
 
  ./setup.py dist_xo
 
  the file created does NOT contain bookcatalog.txt, even though that is
  listed in MANIFEST but does contain .gitignore which is NOT in MANIFEST.
  The activity needs to contain bookcatalog.txt to work.  This file is NOT in
  the Git repository.  It needs to be recreated from files downloaded from
  Project Gutenberg and PG Australia.  It doesn't make sense to put it into
  Git because it is a data file.  However, Read Etexts won't work without it.
 
  In the past setup.py always put this file in my .xo and I'm wondering why it
  isn't doing it now.
 
  Thanks,
 
  James Simmons
 
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
 -- 
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] setup.py not including bookcatalog.txt in Read Etexts XO file

2013-02-15 Thread James Simmons
I just updated my laptop to the latest release of Sugar so I could test my
latest xo file for Read Etexts.  What I discovered is that when you enter

./setup.py dist_xo

the file created does NOT contain bookcatalog.txt, even though that is
listed in MANIFEST but does contain .gitignore which is NOT in MANIFEST.
The activity needs to contain bookcatalog.txt to work.  This file is NOT in
the Git repository.  It needs to be recreated from files downloaded from
Project Gutenberg and PG Australia.  It doesn't make sense to put it into
Git because it is a data file.  However, Read Etexts won't work without it.

In the past setup.py always put this file in my .xo and I'm wondering why
it isn't doing it now.

Thanks,

James Simmons
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] setup.py not including bookcatalog.txt in Read Etexts XO file

2013-02-15 Thread Walter Bender
Is bookcatalog.txt in your git repository? MANIFEST is long
deprecated. setup.py looks to git to know what to include.

regards.

-walter

On Fri, Feb 15, 2013 at 10:24 PM, James Simmons nices...@gmail.com wrote:
 I just updated my laptop to the latest release of Sugar so I could test my
 latest xo file for Read Etexts.  What I discovered is that when you enter

 ./setup.py dist_xo

 the file created does NOT contain bookcatalog.txt, even though that is
 listed in MANIFEST but does contain .gitignore which is NOT in MANIFEST.
 The activity needs to contain bookcatalog.txt to work.  This file is NOT in
 the Git repository.  It needs to be recreated from files downloaded from
 Project Gutenberg and PG Australia.  It doesn't make sense to put it into
 Git because it is a data file.  However, Read Etexts won't work without it.

 In the past setup.py always put this file in my .xo and I'm wondering why it
 isn't doing it now.

 Thanks,

 James Simmons


 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel