-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathide_first_run.patch
73 lines (66 loc) · 2.82 KB
/
ide_first_run.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
diff -ruN a/first_run.txt b/first_run.txt
--- a/first_run.txt 2023-11-15 19:08:23.683195593 +0100
+++ b/first_run.txt 2023-11-17 15:48:22.712138684 +0100
@@ -2,11 +2,22 @@
https://www.flathub.org
------------------------------------------------------------------------------------
-| Warning: You are running an unofficial Flatpak version of @EDITOR_TITLE@ !!! |
+| Warning: You are running an unofficial Flatpak version of Spyder IDE !!! |
------------------------------------------------------------------------------------
-Please open issues under: https://github.com/flathub/@FLATPAK_ID@/issues
+Please open issues under: https://github.com/flathub/org.spyder_ide.spyder/issues
+To install more Python modules from pip, use console or spyder-terminal in Spyder, for example:
+In spyder console: !python3 -mpip install thermo
+In spyder-terminal: python3 -mpip install thermo
+
+After installing Python modules, the Python modules directory below will be created.
+In your file explorer, unhide the hidden folder to see .var folder.
+To make sure Python modules installed from pip are found, add
+ /home/USER/.var/app/org.spyder_ide.spyder/data/python/lib/python3.11/
+to PYTHONPATH in Spyder under the tools>PYTHONPATH manager
+
+Then close the console in Spyder to open a new console to take effect.
This version is running inside a container and is therefore not able
to access SDKs on your host system!
@@ -14,43 +25,10 @@
To execute commands on the host system, run inside the sandbox:
$ flatpak-spawn --host <COMMAND>
-
-To make the Integrated Terminal automatically use the host system's shell,
-you can add this to the settings:
-
- {
- "terminal.integrated.profiles.linux": {
- "host-bash": {
- "path": "/usr/bin/flatpak-spawn",
- "args": ["--host", "--env=TERM=xterm-256color", "bash"]
- }
- },
- "terminal.integrated.defaultProfile.linux": "host-bash"
- }
This flatpak provides a standard development environment (gcc, python, etc).
To see what's available:
- $ flatpak run --command=sh @FLATPAK_ID@
+ $ flatpak run --command=sh org.spyder_ide.spyder
$ ls /usr/bin (shared runtime)
$ ls /app/bin (bundled with this flatpak)
-
-To get support for additional languages, you have to install SDK extensions, e.g.
-
- $ flatpak install flathub org.freedesktop.Sdk.Extension.dotnet
- $ flatpak install flathub org.freedesktop.Sdk.Extension.golang
-
-To enable selected extensions, set FLATPAK_ENABLE_SDK_EXT environment variable
-to a comma-separated list of extension names (name is ID portion after the last dot):
-
- $ FLATPAK_ENABLE_SDK_EXT=dotnet,golang flatpak run @FLATPAK_ID@
-
-To make this persistent, set the variable via flatpak override:
-
- $ flatpak override --user @FLATPAK_ID@ --env=FLATPAK_ENABLE_SDK_EXT="dotnet,golang"
-
-You can use
-
- $ flatpak search <TEXT>
-
-to find others.