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

Add a console_scripts entry point for aws #9212

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gholms
Copy link

@gholms gholms commented Jan 14, 2025

Issue #, if available:

Fixes #5063

Description of changes:

In comparison to scripts, setuptools's console_scripts mechanism is a more portable way to register CLI executables which allows setuptools to generate the executable stub script in a manner appropriate for the platform in question. It also integrates well with bazel. In this patch we add one for the aws command.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the Apache license, version 2.0.

In comparison to `scripts`, setuptools's `console_scripts` mechanism is
a more portable way to register CLI executables which allows setuptools
to generate the executable stub script in a manner appropriate for the
platform in question.  It also integrates well with bazel.  In this
patch we add one for the `aws` command.

Fixes aws#5063
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

Successfully merging this pull request may close these issues.

Package the AWS command-line as a "console script" entry point
1 participant