Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a .deb of a single Python script

I've created a GUI frontend in Python for playing and recording audio streams and would like to create a .deb file so my friends can easily install the script on their Ubuntu systems. This is my first time attempting to create a .deb file and so far I'm a bit confused by all the different tutorials on the web. The script consists of a single Python file (urlplayer.py) and depends on mplayer and python-tk. I'm a complete newbie when it comes to this and would really appreciate any help or links which will point me in the right direction.

Thanks, guys!

like image 646
Fredrik Avatar asked Dec 09 '25 12:12

Fredrik


2 Answers

The best documentation, although not the friendliest, is the Debian New Maintainer's Guide. You could always pop into #debian-mentors on irc://irc.oftc.net for help if your stuck after reading the guide.

like image 179
Nigel Avatar answered Dec 11 '25 01:12

Nigel


See https://github.com/hpfem/hermes/wiki/Create-.deb-Package-for-Femhub

See also Making a deb from a python file

like image 26
Cees Timmerman Avatar answered Dec 11 '25 03:12

Cees Timmerman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!