Package omero :: Package install :: Module win_set_path
[hide private]
[frames] | no frames]

Module win_set_path

source code

Function for setting the working directory for an Omero installation on Windows, since relative paths are not supported.

Copyright 2009 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt

:author: Josh Moore <josh@glencoesoftware.com>

Functions [hide private]
 
win_set_path(new_name=dummy, old_name=r"c:\omero_dist", dir=path("."))
Parses the Windows cfg and xml files and replaces the default "c:\omero_dist" with the given value.
source code
Variables [hide private]
  dummy = object()

Imports: sys, exceptions, minidom, path, fileinput