Set runtime_library_dirs in setup.py, so no need for LD_LIBRARY_PATH
anymore.
Use /usr/bin/env in hashbangs, instead of directly using /usr/bin/python,
to support virtenv.
Parse commandline arguments with argparse module.