Problem creating .xo bundle

Art Hunkins abhunkin at uncg.edu
Tue Jun 23 14:19:18 EDT 2009


Thanks for this suggestion, Bert.

Actually, I did the equivalent in Windows; I could install the resultant 
bundle from a USB drive using the sugar-install-bundle command (as described 
in the User Manual, p.117).

Three little questions, given your scenario:

1) Is setup.py then needed in the bundle at all?

2) Is MANIFEST needed in the bundle at all?

3) If MANIFEST is required, should its list of files *include* MANIFEST? (I 
gather not.)

> Date: Tue, 23 Jun 2009 12:21:54 +0200
> From: Bert Freudenberg <bert at freudenbergs.de>
> Subject: Re: Problem creating .xo bundle
> To: Devel's in the Details <devel at lists.laptop.org>
> Message-ID: <C2C7B05D-7F66-4894-A225-1E4023EA8E4D at freudenbergs.de>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On 23.06.2009, at 04:40, Art Hunkins wrote:
>
>> I've got an XO Activity ready to go, and working perfectly in my (XO)
>> Activities folder. (It's called OurMusic.activity.)
>>
>> I just can't seem to make an .xo bundle of it.
>>
>> From my activity's folder (OurMusic.activity) I run:
>> ./setup.py dist_xo
>> and get:
>> : No such file or directory
>>
>> If I run:
>> setup.py dist_xo
>> or just
>> setup.py
>> I get:
>> bash: setup.py: command not found
>> (and setup.py is right there in the folder, with correct permissions.)
>>
>> Can someone give me guidance, please? (Happy to send along my
>> setup.py,
>> MANIFEST and activity.info files if relevent.)
>
> setup.py is not needed:
>
> cd ~/Activities
> zip -r OurMusic-1.zip OurMusic.activity
> mv OurMusic-1.zip OurMusic-1.xo
>
> Setup.py simply ensures that you use the right version number for the
> bundle file name, it includes only what's listed in MANIFEST, it uses
> the right directory etc. But if you know all these constraints you can
> simply use zip to make a bundle. No magic involved :)
>
> - Bert -




More information about the Devel mailing list