-
-
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
PR: Add feature to append/prepend PPM to IPython Console sys.path #18308
Conversation
@ccordoba12, you mentioned using the |
Just FYI, I think that's what @ccordoba12 was saying as well over on the other issue:
|
@ccordoba12 @dalthviz, I think that @goanpeca began to use the modern configuration system for the PPM paths about two years ago, but there are still references to individual |
From my side I'm not sure to be honest 😅 However, I think the main difference between |
As I understand it, |
Alphabetize DEFAULTS and NAME_MAP. PEP8
Use the configuration manager and the projects paths to build pythonpath dictionary. Projects plugin to connect update_python_path on project change instead of pythonpath_changed.
Use configuration manager. Do not use save_python_path.
…ill always have latest project path.
Use path dictionary values and remove not_active_path attribute. Do not disable path in path dictionary if it is duplicate of project path.
…in project plugin
Update call signatures. Aggregate common path lists. Remove nt constraint on test_button_state
…figuration and remove the files. Revert this commit for a future release.
Add prepend state to sig_path_changed. Add prepend checkbox to PPM widget. Add prepend argument to update_path
Add spyder_pythonpath_prepend to config.main. Add prepend_path file to configuration path. get_spyder_pythonpath_dict now returns path_dict and prepend. load_python_path loads prepend_path and sets attribute. save_python_path saves prepend_path file and sets spyder_ppythonpath_prepend config property. Add new_prepend argument to update_python_path.
Add a checkbox to the PYTHONPATH Manager that allows the user to specify whether to append or prepend these paths to the IPython Console
sys.path
.Prerequisites
sys.path
spyder-kernels#378Fixes: #17066