Opened 5 years ago

#64 new task

Better external dependencies handling in bin/install

Reported by: borja Owned by:
Priority: major Milestone: Proposals and Ideas
Component: infraestructure Keywords:


The install script (source:OpenWorkouts-current/bin/install) currently has some code to check if the needed python version is installed in the system. This code works only if there is a python or python3 binary in the system that points to the proper python version.

There are systems where python points to a python 2.x install and there is no python3 binary, instead you can find something like python3.6 or even python python3.6.8.

So, one thing the installer needs is to improve that code (idea: letting the user give the path to the python binary to be used).

Then, we have some external dependencies that cannot be installed using the python packages or our source:OpenWorkouts-current/bin/js_deps script, like Chrome+chromedriver (used for static maps generation).

Right now the script does not handle those dependencies, it should check if the needed dependencies are installed and exit with error if they are not.

Change History (0)

Note: See TracTickets for help on using tickets.