Open joshmoore opened 4 years ago
The idea of the script was be a wrapper so a user doesn't need to activate the venv nor set OMERODIR. If you take both those out the script doesn't do anything.
It could minimally be a learning instrument.
OMERODIR, of course, could still be set by dirname $(dirname exe)
...
Shall we close this? If you're using Ansible you get a wrapper, if you're not then there's a non-negligible chance you'll install the virtualenv and OMERO.server in some non-standard location, which means it's not possible to autodetect the locations.
Looking at the generated
bin/omero
from https://github.com/ome/ansible-role-omero-server/pull/40:is there a simplified version of this that might be valuable in
ome/openmicroscopy
to delegate tovenv3/bin/omero
? (Ignoring the question of Windows for second).The three lines that need discussing are:
Use
/usr/bin/env python
?Suggest failing if unset?
Is this solvable?
cc: @manics @jburel @will-moore