You would think trying to install and package a Python package and module with a command script would be easy. Turns out this is a twisty minefield on top of shifting quicksand just itching to catch the unwary. Found this article though which was most helpful.
Python Command Scripts / Tim Colles by blogadmin is licensed under a Creative Commons Attribution CC BY 3.0