import imp
import os
import sys
plugin_path = os.path.join(gimp.directory, "plug-ins - Export Layers")
sys.path.append(plugin_path)
sys.path.append(os.path.join(plugin_path, "export_layers"))
sys.path.append(os.path.join(plugin_path, "export_layers", "pygimplib"))
import pygimplib
import pgruntests
pgruntests.run_tests(path=plugin_path, modules=["export_layers.pygimplib"])


imp.reload(pgruntests)
pgruntests.run_tests(path=plugin_path, modules=["export_layers.pygimplib"])


_ = lambda s: s
imp.reload(pgruntests)
_
pgruntests.run_tests(path=plugin_path, modules=["export_layers"], ignored_modules=["export_layers.pygimplib.tests"])


resources_path = os.path.join(plugin_path, "resources")
sys.path.append(resources_path)
orig_cwd = os.getcwd()
os.chdir(resources_path)
import make_package
imp.reload(make_package)
make_package.main()
os.chdir(orig_cwd)


import imp
import os
import sys
plugin_path = os.path.join(gimp.directory, "plug-ins - Export Layers")
sys.path.append(plugin_path)
sys.path.append(os.path.join(plugin_path, "export_layers"))
sys.path.append(os.path.join(plugin_path, "export_layers", "pygimplib"))
import pygimplib
import pgruntests
pgruntests.run_tests(path=plugin_path, modules=["export_layers.pygimplib"])


imp.reload(pgruntests)
pgruntests.run_tests(path=plugin_path, modules=["export_layers.pygimplib"])


_ = lambda s: s
imp.reload(pgruntests)
_
pgruntests.run_tests(path=plugin_path, modules=["export_layers"], ignored_modules=["export_layers.pygimplib.tests"])


resources_path = os.path.join(plugin_path, "resources")
sys.path.append(resources_path)
import make_package
import preprocess_document_contents
orig_cwd = os.getcwd()
os.chdir(resources_path)


imp.reload(make_package)
make_package.main()


imp.reload(preprocess_document_contents)
preprocess_document_contents.main()



Add Python-Fu commands for `preprocess_document_contents`
resources: Add Python-Fu commands for `preprocess_document_contents`
