![]() |
Could someone help me create a deb file for my app?
Hi could someone help me make a deb file for my python based app? I know Qwerty12 has helped a few people with this. My app consists of the following caveats:
I'm not releasing the source YET but instead am using a compiled Python file ".pyc". Not until I get a few more bugs wiped out. Anyways, whoever is interested, please let me know and I will send you everything to get it going. Pics of the app are to be found in the garage here: https://garage.maemo.org/projects/traveller/ I'll announce the app once it is uploaded. |
Re: Could someone help me create a deb file for my app?
I use pypackager on my N800 to do the packaging. You just need to setup the directory structure like you want it and it build the deb for you. Very simple.
|
Re: Could someone help me create a deb file for my app?
PyPackager is in Chinook Extras, if you're wondering.
I use it for my projects, too. If you want more help, contact Jeremiah, our Debmaster. It's his job to help people with Maemo packaging issues. |
Re: Could someone help me create a deb file for my app?
dzon and qole,
Is there a more detailed step by step tutorial on PyPackager than this one? http://wiki.maemo.org/PyPackager It sounds like it's the answer but when it gets to asking about items such as these, I'm not sure what it's really looking for:
Then the buttons at the bottom are a bit cryptic with two of them looking exactly the same. Also, one is save but then what is the disk icon with the pencil on it? The Help-About doesn't show anything either. Any help would be appreciated. |
Re: Could someone help me create a deb file for my app?
Just of note, PyPackager-made debs cannot be uploaded to the extras-* repos because the autobuilder won't except them.
|
Re: Could someone help me create a deb file for my app?
Pypackager is the easiest way to setup a deb in some way.
Once you know it work, you can then use py2deb to create something suitable for extras-* repositories. Check the wiki - there is an article about it. |
Re: Could someone help me create a deb file for my app?
Py2Deb is pretty easy to use too, you just need to make sure you setup your config file properly as per the wiki... the only downside to it is that it's not very good and giving you useful errors, so if it doesn't work (or packages nothing) a lot of the time you have to hack up the code to find out where you went wrong... (things like wrong paths, missing a slash, etc)
|
Re: Could someone help me create a deb file for my app?
I put all files on a folder like DEBFILES,
and create a DEBIAN folder inside it, with a control file like it: Code:
Package: cmake deb -b DEBFILES package-NUMVERSION.deb |
Re: Could someone help me create a deb file for my app?
Hey, Khertan quietly added a section to the py2deb wiki article about how to add your pre / post install scripts to the build_myapp.py program. I'm not entirely clear on how this works (enclose the entire script in triple quotes? That's all?) but that is good news. I can probably use that script to package my Easy Debian stuff now... And with Fremantle coming, that's something I want to do.
|
Re: Could someone help me create a deb file for my app?
I'd be happy to help too! You can fire off an email or we can talk here, or even on IRC at #maemo.
It looks like you have already got some good advice. :) Jeremiah |
All times are GMT. The time now is 14:39. |
vBulletin® Version 3.8.8