Creating python package, scripts/entry_points does not exist or is not executable

I made it work by adding a start script to my application (./bin/term-cheat-app) and then copying it with the snapcraft dump plugin

parts:
  term-cheat:
    plugin: python
    ...
  python-wrapper:
    plugin: dump
    source: bin
    stage:
      - term-cheat-app
    prime:
      - term-cheat-app 

The entry_points and scripts entry in the setup.py were ignored, or I have no idea where the resulting scripts would be found