-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding builtin plugins via entrypoint method. (#1389)
* Load entrypoint plugins before builtin and contrib in order to allow overriding builtin plugins. Signed-off-by: Mark Reid <[email protected]>
- Loading branch information
1 parent
424967a
commit dcf3033
Showing
7 changed files
with
91 additions
and
30 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
11 changes: 11 additions & 0 deletions
11
tests/baselines/plugin_module/otio_override_adapter.egg-info/PKG-INFO
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Metadata-Version: 1.0 | ||
Name: otio-override-adapter | ||
Version: 1.0.0 | ||
Summary: Dummy Adapter used for testing. | ||
Home-page: http://opentimeline.io | ||
Author: Contributors to the OpenTimelineIO project | ||
Author-email: [email protected] | ||
License: Modified Apache 2.0 License | ||
Description-Content-Type: UNKNOWN | ||
Description: UNKNOWN | ||
Platform: any |
3 changes: 3 additions & 0 deletions
3
tests/baselines/plugin_module/otio_override_adapter.egg-info/entry_points.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[opentimelineio.plugins] | ||
mock_plugin = otio_override_adapter | ||
|
Empty file.
Empty file.
12 changes: 12 additions & 0 deletions
12
tests/baselines/plugin_module/otio_override_adapter/plugin_manifest.json
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"OTIO_SCHEMA" : "PluginManifest.1", | ||
"adapters": [ | ||
{ | ||
"OTIO_SCHEMA" : "Adapter.1", | ||
"name" : "cmx_3600", | ||
"execution_scope" : "in process", | ||
"filepath" : "adapter.py", | ||
"suffixes" : ["edl"] | ||
} | ||
] | ||
} |
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