Thread: Creating DEB from Python Application
hi there,
writing application in python 2.7 (a radio playout system, if you're interested). consists of series of small modules , 1 central module imports rest. works should. have written basic 'setup.py' , 'myappname.desktop' file accompany it.
however, when compile .deb distribution, build successful files placed /usr/share/pyshared. fine if writing extension or module, full-blown application, wondering if possible compile .deb in such way extracts files /usr/share/myappname instead.
bonus if .desktop extract /usr/share/applications, too.
doesn't matter build tool use: debhelper, cdbs, stdeb - have same effect. also, dh_make not generate 'dirs' file, in packaging guide - although seem have been written time ago.
ideas?
in advance,
calmcl1.
update: problem has been solved. didn't realise possible use makefile direct files correct installation dirs. holds true .desktop file.
check out awesome tutorial (though it's little dated): http://savetheions.com/2010/01/20/pa...es-for-debian/
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Creating DEB from Python Application
Ubuntu
Comments
Post a Comment