From ce6c264a4c0c6ec5bde8bcd962c7d246a8f703c5 Mon Sep 17 00:00:00 2001 From: Albert <87888006+MustCodeAl@users.noreply.github.com> Date: Thu, 1 Feb 2024 00:12:23 -0600 Subject: [PATCH 1/3] Improve instructions for setting up PyCharm in python.md The commit provides clearer instructions on how to set up PyCharm to use the correct base Python on macOS. The section title and description have been revised to better guide users through the process of prioritizing their Python3 installation over the system's Python install. --- lang/python.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lang/python.md b/lang/python.md index 79d46ed..f3756ab 100644 --- a/lang/python.md +++ b/lang/python.md @@ -147,6 +147,14 @@ CFLAGS="-I$(brew --prefix openssl)/include" \ brew link pkg-config ``` +## Setting Up PyCharm to Use the Appropriate Base Python on macOS + +To instruct PyCharm to prioritize your Python3 installation over the system's Python install, you can execute the command below: + +```sh +sudo ln -s ~/.local/share/mise/installs/python/latest/bin/python3 /usr/local/bin/python3 +``` + ## Automatic virtualenv activation Python comes with virtualenv support built in, use it with `.mise.toml` configuration like From 2050afe72e4132a5a2ef2c31153b2295f7a87f8f Mon Sep 17 00:00:00 2001 From: Albert <87888006+MustCodeAl@users.noreply.github.com> Date: Thu, 1 Feb 2024 00:13:08 -0600 Subject: [PATCH 2/3] Update default npm packages in node.md The commit updates the list of default npm packages in the node.md guidance document. removed old packages and added more common global with different naming schemes npm packages to showcase different syntax's for packages that will be accepted --- lang/node.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/node.md b/lang/node.md index 207ca7a..b0280f8 100644 --- a/lang/node.md +++ b/lang/node.md @@ -41,9 +41,9 @@ required system dependencies. mise-node can automatically install a default set of npm packages right after installing a node version. To enable this feature, provide a `$HOME/.default-npm-packages` file that lists one package per line, for example: ```text -lodash -request -express +@angular/cli +mocha +typescript-language-server ``` You can specify a non-default location of this file by setting a `MISE_NODE_DEFAULT_PACKAGES_FILE` variable. From a1ceb7d4d80a2baa127b593570f8a07bc06d1665 Mon Sep 17 00:00:00 2001 From: Albert <87888006+MustCodeAl@users.noreply.github.com> Date: Sun, 11 Feb 2024 19:56:02 -0600 Subject: [PATCH 3/3] Update python.md fixed to use 3 instead of latest --- lang/python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/python.md b/lang/python.md index f3756ab..3096679 100644 --- a/lang/python.md +++ b/lang/python.md @@ -152,7 +152,7 @@ brew link pkg-config To instruct PyCharm to prioritize your Python3 installation over the system's Python install, you can execute the command below: ```sh -sudo ln -s ~/.local/share/mise/installs/python/latest/bin/python3 /usr/local/bin/python3 +sudo ln -s ~/.local/share/mise/installs/python/3/bin/python3 /usr/local/bin/python3 ``` ## Automatic virtualenv activation