1. 8
  1.  

  2. 9

    Use click

    1. 5

      I prefer docopt. For small/quick tools I find it to be the easiest.

    2. 7

      Nothing to do with CLI apps in particular, just some packaging best practices, if even that. Aren’t there a hundred tutorials for this?

      Don’t reinstall over and over, just use ./setup.py develop. And do it in a virtualenv.

      1. -1

        There is no such thing as packaging best practices for everything. Having this amount of boilerplate for a CLI app is a case study in over-engineering.

      2. 3

        If only there were a package in the python standard library for handling command line arguments…

        1. 3

          Do you mean that you don’t consider argparse or getopt good enough for the standard library? Or maybe you were ironic?

          1. 2

            I was being facetious :)

            1. 2

              I see :P

          2. 2

            That was what I expected this to be about, not “how to package a python application”