Answers for "py to deb"

1

py to deb

1. Create a folder with any name on your home eg: mypyscript
2. Open the folder and create two folders with names 'DEBIAN' and 'usr'
3. Open the folder DEBIAN. Create a text file (without extension) with name 'control' there.
4. Open 'control' and type as follows and save it on DEBIAN

Package: mypyscript
Version: 0.01
Architecture: all
Maintainer: your name<your mail id>
Installed-Size: 2
Depends: python-appindicator
Section: extras
Priority: optional
Homepage: your homepage
Description: describe

5. Back to the folder named mypyscript. Open 'usr'. Create a folder named 'bin'. Open 'bin' and paste your pythonscript file there.
6. You can also make a menu entry. But that is not essential.
7. Back to the home folder where the folder 'mypyscript' lies or close the file browser.
8. Open terminal. Be sure that terminal is in the home folder. type dpkg -b mypyscript .Then press enter. In seconds your deb package is ready
Posted by: Guest on August-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language