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

get rid of /scripts, use setuptools entry_points instead #3451

Closed
KOLANICH opened this issue Sep 26, 2019 · 6 comments
Closed

get rid of /scripts, use setuptools entry_points instead #3451

KOLANICH opened this issue Sep 26, 2019 · 6 comments

Comments

@KOLANICH
Copy link

No description provided.

@bdbaddog
Copy link
Contributor

bdbaddog commented Dec 9, 2019

Duplicate of #2891 ?

@KOLANICH
Copy link
Author

KOLANICH commented Dec 9, 2019

No. entry_points are different. The are encoded as metadata into wheels. For entry point console_scripts scripts/executables are generated when installing the wheels, in a platform- and interpreter-dependent way. Other entry points are irrelevant here.

@bdbaddog
Copy link
Contributor

bdbaddog commented Dec 9, 2019

O.k. so you're suggesting we use something like this:

    entry_points = {
        'console_scripts': ['funniest-joke=funniest.command_line:main'],
    }

@KOLANICH
Copy link
Author

yes.

@bdbaddog
Copy link
Contributor

Closed by #3603

4.0.0 Release automation moved this from To do to Done May 12, 2020
@KOLANICH
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
User Pain Points # 1
  
Awaiting triage
4.0.0 Release
  
Done
Development

No branches or pull requests

2 participants