-
-
Notifications
You must be signed in to change notification settings - Fork 58
multiple scripts?
#167
-
Here's part of a pyproject.toml
[project.scripts]
bigscript = "bigscript.main:main"
smallscript = "bigscript.smallscript:main"
Should I make a separate wrapper for each one?
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
ofek
Oct 20, 2024
Yes a separate binary for each one is probably best. Alternatively, you could set PYAPP_EXEC_SCRIPT to a script that would do stuff based on command line arguments e.g. no arguments could be smallscript.
Replies: 1 comment
-
Yes a separate binary for each one is probably best. Alternatively, you could set PYAPP_EXEC_SCRIPT to a script that would do stuff based on command line arguments e.g. no arguments could be smallscript.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Answer selected by
Redbot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment