Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This is my application.

It is created with quickly.

I would like to package it for Ubuntu now.

I tried to package it with uickly, but that failed.

At first, I was trying to install it using setup.py. But it is only copied in python lib dir, no icon, no desktop file installed.

Then I tried to follow this guide, but I ended up with package without icon and it was of bad quality, but most important of all, it does not use setup.py, and it was pretty complicated. I would like to automate packaging process

Can someone point me in the right direction, some examples of existing apps that have automated packaging etc?

Thanks in advance.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

(OP solved problem)

That's right, I make it. it needs .bzr repo for build, for some reason. Thanks. – umpirsky Jan 17 at 14:13

share|improve this answer

If you are using quickly, packaging should be as simple as typing:

quickly package

You can edit the file revision-monitor.desktop.in to select an icon and a category, but it looks like you already did it.

share|improve this answer
    
Thanks. I tried, but that fails for some reason askubuntu.com/questions/94168/… That Loosks like desktop file and icons are not insalled on appropriate location when I run setup.py, so it should probably be updated with some code to install this files. Also, deb package should somehow run setup.py in order to get all this things installed. –  umpirsky Jan 17 '12 at 12:18
    
They are in the same relative place than my only quickly project, and it packages. Has you modified the setup.py file?. –  Javier Rivera Jan 17 '12 at 12:29
    
Hehum, I'm not sure about that. In order to be integrated into Unity desktop file and application should be copied to /usr/share/ or sth like that. Icons to /usr/share/icons... and so on. No, I didn't it's pretty much similar to one from quickly template bazaar.launchpad.net/~quickly-committers/quickly/trunk/view/… –  umpirsky Jan 17 '12 at 12:34
    
Quickly will (at least it did for me) take care of that. –  Javier Rivera Jan 17 '12 at 12:39
    
Take care of what, packaging application or copy icons, desktop file... to appropriate location when you run setup.py? If seconds, where is that piece of code in setup.py? How do you run setup.py? –  umpirsky Jan 17 '12 at 12:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.