Creating a .deb File from a Python File

After looking at http://ubuntuforums.org/showthread.php?t=406069, I learned how to create a .deb file that automatically puts a Python file as an executable in a directory /usr/bin. I want my program to have a structure like grep. What libraries should I use, and what should be the structure of the programs.

In libraries, should I use a library Get::Opt?

By "grep structure" I mean the following:

program-name func-name -a arg1 --b arg2 should work
man program-name should open the man page
and
program-name should open an in interactive help shell...
0
source share

Source: https://habr.com/ru/post/1791720/


All Articles