-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
Hi,
I was wondering if it might make sense to switch from scripts
to entry_points console_scripts
in setup.py. This is the more modern and preferred approach and recommended by PyPA nowadays.
Example:
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
Guide: https://packaging.python.org/guides/distributing-packages-using-setuptools/#scripts
Ref:
- https://github.com/openai/openai-python/blob/main/bin/openai
Line 25 in 62f8d40
scripts=["bin/openai"],
DutytoDevelop
Metadata
Metadata
Assignees
Labels
No labels