How to make a Python script runs as trivial linux command with Distutils?

view story

http://stackoverflow.com – I need to run python module as trivial Linux command without worrying about the location of the file. Can I do it with Distutils? Specific about what I need. A user should do simple installation and be able to use it: python setup.py install mymodule --arg value How to do it? (HowTos)