-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generation of Python Plugins and filters to adhere to latest temp…
…lates Signed-off-by: Michael Jackson <[email protected]>
- Loading branch information
1 parent
e40c66a
commit 2e7e9cc
Showing
12 changed files
with
174 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 11 additions & 4 deletions
15
src/Plugins/SimplnxCore/src/SimplnxCore/utils/PythonPluginInitTemplate.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
|
||
""" | ||
Insert documentation here for #PLUGIN_NAME# | ||
""" | ||
from #PLUGIN_NAME#.Plugin import #PLUGIN_NAME# | ||
|
||
#PLUGIN_IMPORT_CODE## FILTER_INCLUDE_INSERT | ||
__all__ = ['#PLUGIN_NAME#', 'get_plugin'] | ||
|
||
def get_plugin(): | ||
return #PLUGIN_NAME#() | ||
""" | ||
This section conditionally tries to import each filter | ||
""" | ||
|
||
__all__ = [#PLUGIN_FILTER_LIST#] # FILTER_NAME_INSERT | ||
#PLUGIN_IMPORT_CODE# | ||
|
||
def get_plugin(): | ||
return #PLUGIN_NAME#() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
src/Plugins/SimplnxCore/src/SimplnxCore/utils/PythonPluginTemplate.bat
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
src/Plugins/SimplnxCore/src/SimplnxCore/utils/PythonPluginTemplate.sh
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.