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

Support recreation of wrapper scripts in deployed environments #27

Open
ncoghlan opened this issue Oct 21, 2024 · 1 comment
Open

Support recreation of wrapper scripts in deployed environments #27

ncoghlan opened this issue Oct 21, 2024 · 1 comment
Labels
Affects: Python API Affects the public Python API of the project Affects: Spec Format Affect the stack specification format Category: Enhancement New feature or request

Comments

@ncoghlan
Copy link
Collaborator

Most of the scripts deleted for archive portability and reproducibility reasons could be recreated in postinstall.py from the original entry points distribution metadata.

Restoring these could be enabled via an opt-in flag in the layer spec (omitting them would still be the default behaviour).

@ncoghlan ncoghlan added Category: Enhancement New feature or request Affects: Python API Affects the public Python API of the project Affects: Spec Format Affect the stack specification format labels Oct 21, 2024
@ncoghlan
Copy link
Collaborator Author

ncoghlan commented Oct 21, 2024

Note that this feature proposal does NOT cover adding shebang line rewriting support for published scripts that aren't automatically generated based on distribution entry point metadata.

Adding that would require supporting shebang line rewriting and RECORD file editing in the deployed environment (by contrast, #28 only proposes supporting RECORD file editing at stack build time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: Python API Affects the public Python API of the project Affects: Spec Format Affect the stack specification format Category: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant