justpy-org / justpy

An object oriented high-level Python Web Framework that requires no frontend programming
https://justpy.io
Apache License 2.0
1.22k stars 96 forks source link

make demo browser available as jpdemo console script #555

Closed WolfgangFahl closed 1 year ago

WolfgangFahl commented 2 years ago

need to find out how the setup.py console_script feature is implemented in pyproject.toml

entry_points={
      'console_scripts': [
        'jpdemo = example:demo-browser:main',   
        ],
    },

see https://stackoverflow.com/questions/63326840/specifying-command-line-scripts-in-pyproject-toml

WolfgangFahl commented 2 years ago

see https://github.com/pypa/hatch/issues/499

WolfgangFahl commented 1 year ago

scripts/jpdemo is available