PreInstallModePath = os.path.join(__path__[0], "..", DirName + "/")
if os.path.isfile(os.path.join(PreInstallModePath, FileName)):
return PreInstallModePath
PreInstallModePath = os.path.join(__path__[0], "..", DirName + "/")
if os.path.isfile(os.path.join(PreInstallModePath, FileName)):
return PreInstallModePath
# in gdcm, since the dynamic library loads the standard dictionary
# when dynamically loaded.
# We consider we succefully found the dictionaries path when we encounter
# in gdcm, since the dynamic library loads the standard dictionary
# when dynamically loaded.
# We consider we succefully found the dictionaries path when we encounter
### Set up the path to the data images for the demos.
GDCM_DATA_PATH = BuildInstallOrPreinstallPath("Test", "test.acr")
### Set up the path to the data images for the demos.
GDCM_DATA_PATH = BuildInstallOrPreinstallPath("Test", "test.acr")
### Set up the path to the data images of the test suite.
GDCM_TEST_DATA_PATH = BuildInstallOrPreinstallPath("gdcmData", "test.acr")
### Set up the path to the data images of the test suite.
GDCM_TEST_DATA_PATH = BuildInstallOrPreinstallPath("gdcmData", "test.acr")