title: How do i install a python script like package manager does?
body: <p>If i try to install a package from package manager in any kind of Linux based system, it is installed, adds a shortcut to system menu and so on. It removes the whole package if i type:</p>
  
  <pre><code>"sudo apt autoremove 'packagename'"
  </code></pre>
  
  <p>How can i do that kind of stuff for my own python script? How is it possible to create a shortcut and install the script for my own system? So i can quickly access it from system menu and uninstall it with one command as i want? I dont want to add a shortcut manually or dont want to distribute my program in a repository, just want it to act like a regular packaged program.</p>