maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   py2deb and the package name (https://talk.maemo.org/showthread.php?t=73122)

MasterZap 2011-05-16 06:40

py2deb and the package name
 
Hi, quick question (I searched and found no answer)

I'm using py2deb to upload a python app to extras/devel, which all WORKS just dandy.

However, the app is presented in app manager as simply the package name. I see that other apps seem to be able to have a "display name" that is distinct from the "package name", but I don't see any option for that in py2deb.

Is that implossible from py2deb, or can I find somewhere in py2deb.py to tweak this? Where does the "display name" come from? "description" is clearly the little 2nd line under the program name - this also works fine. I just wanted to give a longer, nicer looking (containing uppercase letters) and more descriptive app name.... :/


Thanks in advance for any help.

/Z

MasterZap 2011-05-16 09:54

Re: py2deb and the package name
 
Never mind, I solved it with a small mod to py2deb.

/Z

thegman 2011-05-16 16:44

Re: py2deb and the package name
 
Hi Zap,
What's the mod? (saves the next person asking the question :)

robin92 2011-05-16 17:36

Re: py2deb and the package name
 
Hi!
I have som problems with py2deb. I now that the files work on another device but not mine :/


Traceback (most recent call last):
File "/home/user/MyDocs/download/hejs/build_camaro.py", line 56, in <module>
r = p.generate(version,build,changelog=changeloginform ation,tar=True,dsc=True,changes=True,build=False,s rc=True)
File "/usr/lib/python2.5/site-packages/py2deb.py", line 228, in generate
raise Py2debException("no files are defined")
py2deb.Py2debException: no files are defined

Khertan 2011-05-18 07:59

Re: py2deb and the package name
 
About py2deb, it s clearly deprecated now, and unmaintained, i suggest you to take a look at sdist_maemo :

http://khertan.net/python_sdist_maemo

MasterZap 2012-03-15 14:27

Re: py2deb and the package name
 
Well my changes to py2deb are here

http://dl.dropbox.com/u/9525169/py2deb.py

I don't even rember what I did, but I think it was adding the .displayname thingamabob.

I had to resurrect my broken N900 to extract this file.

/Z

AapoRantalainen 2012-03-16 06:55

Re: py2deb and the package name
 
I know py2deb is deprecated and sdist_maemo should be used instead.

I pushed new py2deb to the extras-devel with displayname by MasterZap.


All times are GMT. The time now is 11:16.

vBulletin® Version 3.8.8