-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I think the user-experience might improve if some things can be configured by the user, so that the run involves less implicit rules.
I would propose to introduce a file, e.g. '.osparc-pyrun-config' that users can store in the zip file (if there is no zip file involved, or no config file, we fall back to the old behavior)
- A version number of the format (so that we can upgrade later and break compatibility)
- the location of the script the user wants to let python run (not required)
- the location of the requirements file (not required)
- the 'working' dir of python (i.e. where to run the python command from) (not required)
(In the future I could see other options like: 'store env cache after requirements are installed', 'change python command used', etc.)
'location' would be a path relative to the location of the json config file. Only 1 file allowed.
@pcrespov @sanderegg @newton1985 what do you think? Just asking before I begin implementation.
Metadata
Metadata
Assignees
Labels
No labels