In the past I've used something like

```
    entry_points = {
        'console_scripts': ['jsonpath = jsonpath_rw.cli:entry_point']
    }
```

Two things I really like about that are:
1. You can test the function easily
2. The name of the script is independent

Is there any pitfall to this method? I know the packaging situation is confusing in Python so I could have got something wrong.