Skip to content

Commit

Permalink
pgxnclient.cli can be used as command line entry point
Browse files Browse the repository at this point in the history
Handy for python3 as "build" doesn't create a Py3 script whereas cli.py
gets converted.
  • Loading branch information
dvarrazzo committed Sep 26, 2012
1 parent 17dd09c commit 394bc02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pgxnclient/cli.py
Expand Up @@ -122,3 +122,6 @@ def _get_exec(cmd):

return fn

if __name__ == '__main__':
script()

0 comments on commit 394bc02

Please sign in to comment.