["python"]
setup.py and adding file to /bin/

I can't figure out how to make setup.py add a script to the the user's /bin or /usr/bin or whatever. E.g., I'd like to add a myscript.py to /usr/bin so that the user can call myscript.py from any directory.
The Python documentation explains it under the installing scripts section. Scripts are files containing Python source code, intended to be started from the command line. setup(..., scripts=['scripts/xmlproc_parse', 'scripts/xmlproc_val'] ) As mentioned here, beside scripts, there is an entry_points mechanism, which is more cross-platform. With entry_points you connect a command line tool name with a function of your choice, whereas scripts could point to any file (e.g. a shell script).