Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console_script / entry_point feature as in setup.py #499

Closed
WolfgangFahl opened this issue Sep 19, 2022 · 1 comment
Closed

console_script / entry_point feature as in setup.py #499

WolfgangFahl opened this issue Sep 19, 2022 · 1 comment

Comments

@WolfgangFahl
Copy link

for justpy-org/justpy#555 I'd love to add an entry point for a console script.

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

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

Is this a already a feature or is there a workaround? If not it would be a a great addition to make it simple to convert from setup.py as we have been using in the past in quite a few projects to pyprojec.toml. See e.g.

https://github.com/WolfgangFahl/py-3rdparty-mediawiki/blob/master/setup.py

@ofek
Copy link
Sponsor Collaborator

ofek commented Sep 19, 2022

@ofek ofek closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants