-
Notifications
You must be signed in to change notification settings - Fork 315
Should be possible to move settings to user folder #351
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
Comments
Additional reason: My experience is that having one settings folder for multiple versions of WinPython creates compatibility problems between versions of Spyder, pylint, matplotlib, etc. Therefore, I create a separate settings folder for each WinPython version in %APPDATA%\WinPython\envW.X.Y.Z By reverse-engineering the batch files supplied by WinPython, I created my own batch file to launch Spyder. As an example, here is my
|
hi, since #272 of march 5th, you should have:
This is to alternate between a user directory folder and a winpython one. |
and the user directory is specific to each version "C:\Users\xxx\Documents\WinPython3.4.4.1" for example. maybe it's not enough. waiting for comments https://github.com/winpython/winpython/blob/master/make.py#L592..595 |
FWIW, at the moment I'm using a variant of @hiccup7 's batch file. It works OK except that it leaves a DOS window open the whole time I'm using Spyder. |
I'd like to re-open this issue. @hiccup7 's batch file solution not only leaves open a DOS window, worse, it doesn't work with right clicking on "Edit file with Spyder". If you do that Spyder launches without any of the user's settings (took me a while to figure out this is why it worked OK sometimes, but not other times). |
I too was annoyed at the DOS window staying open/visible, so I fixed it today. Here is my latest batch file using "start" to invoke Spyder:
The Windows Explorer right-click menu is controlled by registry keys. Here is an example.reg file that can be edited for controlling all the WinPython registry keys that I know of:
|
Here is another example.reg file for associating *.py files with an editor in the Windows Explorer right-click menu:
|
Starting with Spyder v3.1.3, replace "spyder.exe" with "spyder3.exe" in batch files. |
And that will do...what? In particular, will it make right-clicking on a .py with "Edit with Spyder" load user preferences? |
The name of the executable changed in v3.1.3. Therefore, batch files and, as @nerdfever pointed out, registry entries using the Spyder executable have to change. I don't have a ready solution for making right-clicking on a .py with "Edit with Spyder" load user preferences. Maybe you could use my regedit script above to understand how to add that functionality, but it would likely involve the registry key pointing to a batch file like the above to set up the environment variables for Spyder. |
I suppose the subject is closed, nowodays. reopen if needed |
Currently WinPython stores settings in the install folder.
For example: C:\WinPython-64bit-3.4.4.2\settings
The user should be able to move these to the user home folder (%USERPROFILE%).
Reasons:
1 - Usually only user data is backed up
2 - The current location doesn't carry over to updated versions of WinPython
3 - The current location is global (there may be multiple users on one machine)
The text was updated successfully, but these errors were encountered: