Repository: python/cherry-picker (language: python)

Issue:
cherry_picker executable script is broken
I just installed cherry_picker 2.0.0 in a conda environment and I get the following error when trying to run it:
```bash
$ cherry_picker --help
Traceback (most recent call last):
  File "/home/antoine/miniconda3/envs/cherry_picker/bin/cherry_picker", line 5, in <module>
    from cherry_picker import cherry_pick_cli
ImportError: cannot import name 'cherry_pick_cli' from 'cherry_picker' (/home/antoine/miniconda3/envs/cherry_picker/lib/python3.9/site-packages/cherry_picker/__init__.py)
```
Installed packages:
```bash
$ pip list
Package       Version
------------- -------------------
certifi       2020.12.5
cffi          1.14.5
chardet       4.0.0
cherry-picker 2.0.0
click         8.0.0
cryptography  3.4.7
gidgethub     5.0.1
idna          2.10
pip           21.0.1
pycparser     2.20
PyJWT         2.1.0
requests      2.25.1
setuptools    52.0.0.post20210125
toml          0.10.2
uritemplate   3.0.1
urllib3       1.26.4
wheel         0.36.2
```


Discussion / hints:
`python -m cherry_picker` does work, but if a `cherry_picker` executable script is installed, I would expect it to work as well.
Hmm I'm not familiar with how conda work, so maybe someone else can help with this issue?

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index 11465e0..bbc1438 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,7 +16,7 @@ requires-python = ">=3.6"
 
 
 [tool.flit.scripts]
-cherry_picker = "cherry_picker:cherry_pick_cli"
+cherry_picker = "cherry_picker.cherry_picker:cherry_pick_cli"
 
 [tool.flit.metadata.requires-extra]
 dev = ["pytest"]


Test patch:
diff --git a/cherry_picker/test.py b/cherry_picker/test.py
index 983e053..5eb271f 100644
--- a/cherry_picker/test.py
+++ b/cherry_picker/test.py
@@ -930,3 +930,7 @@ def test_abort_cherry_pick_success(
         cherry_picker.abort_cherry_pick()
 
     assert get_state() == WORKFLOW_STATES.REMOVED_BACKPORT_BRANCH
+
+
+def test_cli_invoked():
+    subprocess.check_call('cherry_picker --help'.split())