Skip to content

Commit 1e4214d

Browse files
committed
Update WinPython.ps1
1 parent 62e984b commit 1e4214d

File tree

5 files changed

+90
-158
lines changed

5 files changed

+90
-158
lines changed

Tools/Test-InstallPwshNotebook.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,18 @@
2626
" #Uri = 'https://github.com/sakaztk/pwsh-notebook/raw/master/Miniconda/Miniconda.ps1'\n",
2727
" #Uri = 'https://github.com/sakaztk/pwsh-notebook/raw/master/Miniforge/Miniforge.ps1'\n",
2828
" Uri = 'https://github.com/sakaztk/pwsh-notebook/raw/master/PythonForWindows/PythonForWindows.ps1'\n",
29+
" #Uri = 'https://github.com/sakaztk/pwsh-notebook/raw/master/WinPython/WinPython.ps1'\n",
2930
" OutFile = 'install.ps1'\n",
3031
"}\n",
3132
"$scriptOpt = @{\n",
3233
" Verbose = $true\n",
3334
" CleanupDownloadFiles = $true\n",
34-
" InstallPwsh7SDK = $true\n",
35-
" InstallDotnetInteractive = $true\n",
35+
" InstallPwsh7SDK = $false\n",
36+
" InstallDotnetInteractive = $false\n",
37+
"\n",
38+
" #For WinPython\n",
39+
" #InstallPortableGit = $true\n",
40+
" #AddStartMenu = $true \n",
3641
"}"
3742
]
3843
},

Tools/sakaztk.ipynb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@
5050
"pip install netmiko"
5151
]
5252
},
53+
{
54+
"cell_type": "code",
55+
"execution_count": null,
56+
"metadata": {},
57+
"outputs": [],
58+
"source": [
59+
"pip install fabric"
60+
]
61+
},
5362
{
5463
"cell_type": "code",
5564
"execution_count": null,

WinPython/README-JP.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ Using [Powershell](https://github.com/PowerShell/PowerShell) on [Jupyter Noteboo
33

44
## インストールするソフトウェア
55
- [WinPython](https://winpython.github.io/)
6-
- [Jupyter-PowerShell5](https://github.com/DeepAQ/Jupyter-PowerShell5)
7-
- [Jupyter-PowerShellSDK](https://github.com/sakaztk/Jupyter-PowerShellSDK) (Optional)
8-
- [Jupyter Powershell Kernel](https://github.com/vors/jupyter-powershell) (Optional)
96
- [Node.js](https://nodejs.org/) (Use in extentions for JupyterLab)
10-
- [PowerShell 7](https://github.com/PowerShell/PowerShell) (Optional)
11-
- [Jupyter Nbextensions](https://github.com/ipython-contrib/jupyter_contrib_nbextensions) (Optional)
12-
- [Jupyter Nbextensions Configurator](https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator) (Optional)
7+
- [Jupyter-PowerShell5](https://github.com/sakaztk/Jupyter-PowerShellSDK/tree/powershellsdk/Jupyter-PowerShell5) ([DeepAQ](https://github.com/DeepAQ/Jupyter-PowerShell5)からフォーク)
8+
- [Jupyter-PowerShellSDK](https://github.com/sakaztk/Jupyter-PowerShellSDK) (Optional)
139
- [PortableGit](https://github.com/git-for-windows/git) (Optional)
1410
- [.Net Interactive](https://github.com/dotnet/interactive) (Optional)
1511

@@ -35,29 +31,10 @@ Using [Powershell](https://github.com/PowerShell/PowerShell) on [Jupyter Noteboo
3531
デフォルト: $env:LOCALAPPDATA\Programs\WinPython
3632
例: .\WinPython.ps1 -WinPythonPath C:\PathTo\WinPython
3733

38-
- UsePipKernel
39-
このスイッチオプションを指定すると、[Jupyter-PowerShell5](https://github.com/DeepAQ/Jupyter-PowerShell5)の代わりに[Jupyter Powershell Kernel](https://github.com/vors/jupyter-powershell)を使用します。
40-
例: .\WinPython.ps1 -UsePipKernel
41-
42-
- InstallPwsh7ForPipKernel
43-
このスイッチオプションを指定すると、最新版の[PowerShell 7](https://github.com/PowerShell/PowerShell/releases/latest)をインストールし、[Jupyter Powershell Kernel](https://github.com/vors/jupyter-powershell)で使用可能にします。
44-
例: .\WinPython.ps1 -UsePipKernel -InstallPwsh7ForPipKernel
45-
46-
- PowerShell7Path
47-
[PowerShell 7](https://github.com/PowerShell/PowerShell/releases/latest)のインストールパスを指定します。
48-
必須: いいえ
49-
デフォルト: $env:LOCALAPPDATA\Programs\WinPython\pwsh7
50-
例: .\WinPython.ps1 -InstallPwsh7ForPipKernel -PowerShell7Path C:\PathTo\WinPython
51-
5234
- InstallPwsh7SDK
5335
このスイッチオプションを指定すると、 [Jupyter-PowerShellSDK](https://github.com/sakaztk/Jupyter-PowerShellSDK)をインストールします。
5436
例: .\Anaconda.ps1 -InstallPwsh7SDK
5537

56-
- InstallNBExtensions
57-
このスイッチオプションを指定すると、 [Jupyter Nbextensions](https://github.com/ipython-contrib/jupyter_contrib_nbextensions)[Jupyter Nbextensions Configurator](https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator)をインストールします。
58-
[Note] インストールすることでJupyterLabのエクスポート機能が使えなくなる可能性があります。([*](https://github.com/jupyterlab/jupyterlab-desktop/issues/465))
59-
例: .\WinPython.ps1 -InstallNBExtensions
60-
6138
- InstallPortableGit
6239
このスイッチオプションを指定すると、 [PortableGit](https://github.com/git-for-windows/git)をインストールします。
6340
例: .\WinPython.ps1 -InstallPortableGit

WinPython/README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ Using [Powershell](https://github.com/PowerShell/PowerShell) on [Jupyter Noteboo
33

44
## Installing
55
- [WinPython](https://winpython.github.io/)
6-
- [Jupyter-PowerShell5](https://github.com/DeepAQ/Jupyter-PowerShell5)
7-
- [Jupyter-PowerShellSDK](https://github.com/sakaztk/Jupyter-PowerShellSDK) (Optional)
8-
- [Jupyter Powershell Kernel](https://github.com/vors/jupyter-powershell) (Optional)
96
- [Node.js](https://nodejs.org/) (Use in extentions for JupyterLab)
10-
- [PowerShell 7](https://github.com/PowerShell/PowerShell) (Optional)
11-
- [Jupyter Nbextensions](https://github.com/ipython-contrib/jupyter_contrib_nbextensions) (Optional)
12-
- [Jupyter Nbextensions Configurator](https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator) (Optional)
7+
- [Jupyter-PowerShell5](https://github.com/sakaztk/Jupyter-PowerShellSDK/tree/powershellsdk/Jupyter-PowerShell5) (forked from [DeepAQ](https://github.com/DeepAQ/Jupyter-PowerShell5))
8+
- [Jupyter-PowerShellSDK](https://github.com/sakaztk/Jupyter-PowerShellSDK) (Optional)
139
- [PortableGit](https://github.com/git-for-windows/git) (Optional)
1410
- [.Net Interactive](https://github.com/dotnet/interactive) (Optional)
1511

@@ -34,29 +30,10 @@ Mandatory: No
3430
Default: $env:LOCALAPPDATA\Programs\WinPython
3531
e.g.: .\WinPython.ps1 -WinPythonPath C:\PathTo\WinPython
3632

37-
- UsePipKernel
38-
This switch option will install [Jupyter Powershell Kernel](https://github.com/vors/jupyter-powershell) instead of [Jupyter-PowerShell5](https://github.com/DeepAQ/Jupyter-PowerShell5).
39-
e.g.: .\WinPython.ps1 -UsePipKernel
40-
41-
- InstallPwsh7ForPipKernel
42-
This switch option will install [latest PowerShell 7](https://github.com/PowerShell/PowerShell/releases/latest) and available it in Jupyter Notebook options with [Jupyter Powershell Kernel](https://github.com/vors/jupyter-powershell).
43-
e.g.: .\WinPython.ps1 -UsePipKernel -InstallPwsh7ForPipKernel
44-
45-
- PowerShell7Path
46-
Specify installation path of the [PowerShell 7](https://github.com/PowerShell/PowerShell).
47-
Mandatory: No
48-
Default: $env:LOCALAPPDATA\Programs\WinPython\pwsh7
49-
e.g.: .\WinPython.ps1 -InstallPwsh7ForPipKernel -PowerShell7Path C:\PathTo\WinPython
50-
5133
- InstallPwsh7SDK
5234
This switch option will install [Jupyter-PowerShellSDK](https://github.com/sakaztk/Jupyter-PowerShellSDK).
5335
e.g.: .\Anaconda.ps1 -InstallPwsh7SDK
5436

55-
- InstallNBExtensions
56-
This switch option will install [Jupyter Nbextensions](https://github.com/ipython-contrib/jupyter_contrib_nbextensions) and [Jupyter Nbextensions Configurator](https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator).
57-
[Note] It may not work export function for JupyterLab if install NBExtensions.([*](https://github.com/jupyterlab/jupyterlab-desktop/issues/465))
58-
e.g.: .\WinPython.ps1 -InstallNBExtensions
59-
6037
- InstallPortableGit
6138
This switch option will install [PortableGit](https://github.com/git-for-windows/git).
6239
e.g.: .\WinPython.ps1 -InstallPortableGit

0 commit comments

Comments
 (0)