-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change plugins directory to spyplugins and make it a namespace package #2565
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
2e07558
Move file to new plugins structure
Nodd 427c398
Discover third-party plugins as standalone files or directories
Nodd f20dcae
New-style spyderplugins are correctly loaded
Nodd c207d71
Load icons from plugin directory
Nodd 33b8e67
Update gettext scripts
Nodd edbebef
Declare spyderplugins as a namespace package
Nodd 28cf1b9
Remove 'p_' prefix where possible
Nodd 671dbfa
Simplify registration inside plugins
Nodd 03f7981
Load plugins from .spyder/userplugins and use path.py
Nodd 811b978
Load correct translation in plugin widgets
Nodd e39ebcc
Safely remove USERPLUGIN_PATH from sys.path
Nodd db1efc8
Catch more general Exception on plugin load and print the full traceback
Nodd 0a68411
Copy-paste leftovers
Nodd cfec1f5
Plugin image path is managed within the plugin API
Nodd ce9dada
Put IO plugins in their own namespace
Nodd 102188b
Don't import __init__.py as a plugin
Nodd 91bf79f
Use the imp package to correctly load plugins from directories
Nodd df87cd9
Don't load plugin from __pycache__
Nodd ed864a9
Typo in variable name
Nodd caa5c44
path is now Path
Nodd 880412a
Fix setup.py for ioplugins
Nodd d082393
Rename 'spyderplugins' namespace to 'spyderuiplugins'
goanpeca 220ee58
Change spyderplugins to spyplugins/ui and spyplugins/io
goanpeca 58ae57f
Fix python 33 and 34 plugins compatibility
goanpeca 4fbf976
rebase
goanpeca 6fb9f28
Fix icon loadijng for third party plugins
goanpeca 50ba8d2
Fix example plugin icons
goanpeca 511c4db
Add icons for autopep8
goanpeca 76774e8
Remove redundant info in setup.py
goanpeca bfceea0
Update check and write of user plugins folder structure, add comments
goanpeca 7ddda8d
Make io plugins search similar to ui plugins
goanpeca 5ca6390
Remove unneded variable
goanpeca 5ca1153
Update plugins icon names and add copyright
goanpeca 4237c1e
Revert to os.path use, instead of Path
goanpeca 9cf2f9b
Restructure io plugins
goanpeca a45edb2
Remove unwanted tabs
goanpeca e0f921e
Remove Path
goanpeca 0c8cfd8
Restore IMAGE_PATH and remove Path
goanpeca 8c545e6
Update setup.py to correctly build wheel
goanpeca 037e6c7
Remove test for plugins
goanpeca ebefff1
Add try except to spyplugins widgets to enable testing
goanpeca c8035ba
Minor comment/style fixes
goanpeca File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Binary file not shown.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't remove these tests. Just change this line to
That should fix these tests because spyplugins widgets can be run outside Spyder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, that does not cut it... it was not only that
Test wont run cause they do not run as standalone scripts, they only work when a spyder instance runs