FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use `entry_points console_scripts ` · Issue #48 · openai/openai-python · GitHub

Use entry_points console_scripts  #48

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL