miriamkw/GluPredKit

Entry Point Bug Fix

Closed this issue · 2 comments

The pip install of GluPredKit does not create an executable entry point.

I have:

  • Added #!/usr/bin/env python3 to cli.py
  • Ran command to make the file an executable: chmod +x glupredkit/cli.py
  • Added entry-point in setup.py

Resources:

not sure if the entry point is right - can we find an example specifically for using the click cli package? it might just be glupredkit.cli not clupredkit.cli:cli

Finally solved the problem... The hatchling backend in pyproject.toml wasn't invoking my setup.py script. Changed it to setuptools with wheels