File tree 5 files changed +10
-18
lines changed
5 files changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def ls():
49
49
yield container
50
50
51
51
52
- def install (config ):
52
+ def install ():
53
53
"""Install Fusion-specific functionality of avalon-core.
54
54
55
55
This function is called automatically on calling `api.install(fusion)`.
@@ -76,14 +76,10 @@ def install(config):
76
76
logger .setLevel (logging .DEBUG )
77
77
78
78
79
- def uninstall (config ):
79
+ def uninstall ():
80
80
"""Uninstall Fusion-specific functionality of avalon-core.
81
81
82
82
This function is called automatically on calling `api.uninstall()`.
83
-
84
- Args:
85
- config: configuration module
86
-
87
83
"""
88
84
89
85
pyblish .api .deregister_host ("fusion" )
Original file line number Diff line number Diff line change 24
24
IS_HEADLESS = not hasattr (hou , "ui" )
25
25
26
26
27
- def install (config ):
27
+ def install ():
28
28
"""Setup integration
29
29
Register plug-ins and integrate into the host
30
30
@@ -40,14 +40,10 @@ def install(config):
40
40
self ._has_been_setup = True
41
41
42
42
43
- def uninstall (config ):
43
+ def uninstall ():
44
44
"""Uninstall Houdini-specific functionality of avalon-core.
45
45
46
46
This function is called automatically on calling `api.uninstall()`.
47
-
48
- Args:
49
- config: configuration module
50
-
51
47
"""
52
48
53
49
pyblish .api .deregister_host ("hython" )
Original file line number Diff line number Diff line change 33
33
IS_HEADLESS = not hasattr (cmds , "about" ) or cmds .about (batch = True )
34
34
35
35
36
- def install (config ):
36
+ def install ():
37
37
"""Install Maya-specific functionality of avalon-core.
38
38
39
39
This function is called automatically on calling `api.install(maya)`.
@@ -90,7 +90,7 @@ def get_main_window():
90
90
return self ._parent
91
91
92
92
93
- def uninstall (config ):
93
+ def uninstall ():
94
94
"""Uninstall Maya-specific functionality of avalon-core.
95
95
96
96
This function is called automatically on calling `api.uninstall()`.
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def ls():
209
209
yield container
210
210
211
211
212
- def install (config ):
212
+ def install ():
213
213
"""Install Nuke-specific functionality of avalon-core.
214
214
215
215
This is where you install menus and register families, data
@@ -241,7 +241,7 @@ def get_main_window():
241
241
return self ._parent
242
242
243
243
244
- def uninstall (config ):
244
+ def uninstall ():
245
245
"""Uninstall all that was previously installed
246
246
247
247
This is where you undo everything that was done in `install()`.
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def install(host):
76
76
77
77
# Optional host install function
78
78
if hasattr (host , "install" ):
79
- host .install (config )
79
+ host .install ()
80
80
81
81
# Optional config.host.install()
82
82
host_name = host .__name__ .rsplit ("." , 1 )[- 1 ]
@@ -119,7 +119,7 @@ def uninstall():
119
119
config_host .uninstall ()
120
120
121
121
try :
122
- host .uninstall (config )
122
+ host .uninstall ()
123
123
except AttributeError :
124
124
pass
125
125
You can’t perform that action at this time.
0 commit comments