Skip to content

Commit

Permalink
Use "plugins" as directory name for user plugins
Browse files Browse the repository at this point in the history
It's inside .spyder/ already.
  • Loading branch information
Nodd committed Jul 22, 2016
1 parent 483babd commit 37bcb50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyderlib/otherplugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
import importlib


USER_PLUGIN_DIR = "plugins"
PLUGIN_PREFIX = "spyder_"
IO_PREFIX = PLUGIN_PREFIX + "io_"


def get_spyderplugins_mods(io=False):
"""Import modules from plugins package and return the list"""
# Create user directory
user_plugin_path = osp.join(get_conf_path(), "spyplugins")
user_plugin_path = osp.join(get_conf_path(), USER_PLUGIN_DIR)
if not osp.isdir(user_plugin_path):
os.makedirs(user_plugin_path)

Expand Down

0 comments on commit 37bcb50

Please sign in to comment.