Can't finish my app for the Developer Showdown
David Planella
david.planella at ubuntu.com
Sun Jul 8 07:25:07 UTC 2012
Al 07/07/12 20:20, En/na Francisco Gómez ha escrit:
> So, I'm developing my app, Virtuam, and I'm having LOTS of problems
> related with packaging. After solving most of them porting the app to
> Quickly, now it doesn't compiles using quickly package --verbose
> --extras. What's wrong?
>
> Related question in Ask Ubuntu:
> http://askubuntu.com/questions/160517/why-does-my-quickly-app-install-in-usr-bin-instead-of-opt
> My Launchpad junk: *lp:~espectalll123/+junk/virtuam*
>
> Thanks in advance
>
> Francisco Gómez
>
>
Hi Francisco,
You've started a Python + GTK app from scratch and then tried to port it
to Quickly. While this will help you with the packaging bits, it will be
harder to get right than having started a Quickly app from the beginning.
Note that app migration is not a supported feature of Quickly, so any
help here will be on a best-effort basis.
I've noticed a few things that might help you:
- You need to include the code Quickly generates on the
bin/<yourexecutable> file to your bin/virtuam file. Without that, not
even 'quickly run' works. Have a look at an example bin/<yourexecutable>
file (*)
- Your code should be under the virtuam/ folder, not under virtuam_lib/.
I think that might be one of the reasons why the package command fails.
The virtuam_lib/ folder is for common and private modules, you main
app's code should live in virtuam/. In fact, your code does not even run
now:
$ bin/virtuam
Traceback (most recent call last):
File "bin/virtuam", line 15, in <module>
from virtuam_lib import assistant
ImportError: No module named virtuam_lib
- You'll need to complete and uncomment the 'description' and
'long_description' parameters to create a package with a valid description.
I hope this helps.
Cheers,
David.
(*) In general, I would recommend just creating a Quickly test app 'e.g.
quickly create ubuntu-application foo' and look how it differs from your
ported app.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-app-devel/attachments/20120708/e14abef0/attachment-0001.pgp>
More information about the Ubuntu-app-devel
mailing list