Reply
Thread Tools
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#1
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

Last edited by MasterZap; 2011-05-16 at 06:44.
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#2
Never mind, I solved it with a small mod to py2deb.

/Z
 
Posts: 51 | Thanked: 46 times | Joined on Jun 2010
#3
Hi Zap,
What's the mod? (saves the next person asking the question
 
robin92's Avatar
Posts: 476 | Thanked: 438 times | Joined on Nov 2010 @ Sweden
#4
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's Avatar
Posts: 1,009 | Thanked: 804 times | Joined on Jul 2007 @ France
#5
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
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#6
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
 

The Following User Says Thank You to MasterZap For This Useful Post:
Posts: 781 | Thanked: 3,039 times | Joined on Mar 2009
#7
I know py2deb is deprecated and sdist_maemo should be used instead.

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:32.