Skip to content

Commit

Permalink
Merge pull request #169 from joshmoore/5_6_cleanup
Browse files Browse the repository at this point in the history
5.6 cleanup
  • Loading branch information
joshmoore authored Jan 10, 2020
2 parents 506042f + 5d0fe86 commit 6842ee6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 105 deletions.
9 changes: 0 additions & 9 deletions bin/omero
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,10 @@ top = os.path.join(exe, os.pardir, os.pardir)
# This list needs to be kept in line with omero.cli.CLI._env
#
top = os.path.normpath(top)
lib = os.path.join(top, "lib")
lpy = os.path.join(top, "lib","python")
ipy = os.path.join(top, "lib","fallback")
var = os.path.join(top, "var")
vlb = os.path.join(var, "lib")
sys.path.append(lpy);
sys.path.append(vlb);
sys.path.append(ipy)

if not os.path.exists(lib):
print("WARN: %s does not exist. It is unlikely that OMERO will run properly" % lib)

#
# Testing shortcut. If the first argument is an
# empty string, exit sucessfully.
#
Expand Down
4 changes: 1 addition & 3 deletions src/omero/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,10 +1394,8 @@ def _env(self):
This list needs to be kept in line with omero-py/bin/omero
"""
lpy = str(self.dir / "lib" / "python")
ipy = str(self.dir / "lib" / "fallback")
vlb = str(self.dir / "var" / "lib")
paths = os.path.pathsep.join([lpy, vlb, ipy])
paths = os.path.pathsep.join([vlb])

env = dict(os.environ)
pypath = env.get("PYTHONPATH", None)
Expand Down
93 changes: 0 additions & 93 deletions src/omero_setup.py

This file was deleted.

0 comments on commit 6842ee6

Please sign in to comment.