You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the readme and the scripts with instructions for getting the VTS library from the releases, added a readme to the libraries folder so that the folder exists in the repo
This will create the directory `vts` that is needed for the next step
30
-
31
-
Install both `powershell` and `nuget` using [Homebrew](https://brew.sh)
32
-
33
-
brew install powershell
34
-
brew install nuget
27
+
### Step 3: Download the VTS libraries
35
28
36
-
Now build VTS. If you don't have `matlab` don't worry, it seemed to work fine without completing the `matlab` tests
29
+
Get the latest VTS libraries for the specific platform from [releases](https://github.com/VirtualPhotonics/Vts.Scripting.Python/releases) and extract them into the **libraries** folder under **scripting**.
37
30
38
-
pwsh
39
-
cd vts
40
-
./BuildTestRelease.ps1
41
-
exit
42
-
43
-
### Step 3: Install pythonnet
31
+
### Step 4: Install pythonnet
44
32
45
33
pip install pythonnet
46
34
47
-
Because `pythonnet` under macOS (or linux) defaults to `mono`, two more things need to added to `~/.bash_profile`
35
+
***Note for MacOS and Linux:***Because `pythonnet` under macOS (or linux) defaults to `mono`, two more things need to added to `~/.bash_profile`
48
36
49
37
export PYTHONNET_RUNTIME=coreclr
50
38
export PYTHONNET_PYDLL=/usr/local/bin/python3
@@ -54,15 +42,18 @@ Obviously use the path for python on your system (`which python3` will tell you
54
42
Next start a `JupyterLab` notebook to verify that things are installed correctly
The VTS libraries should be copied into this folder. Get the latest VTS library (VTS.dll) and its dependencies from the releases section of this repository https://github.com/VirtualPhotonics/Vts.Scripting.Python/releases
Copy file name to clipboardExpand all lines: scripting/monte_carlo/demo_01_r_of_rho_simple.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
"\n",
14
14
"* [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) has been installed\n",
15
15
"\n",
16
-
"* The [VTS libraries](https://github.com/VirtualPhotonics/VTS) have been downloaded from the zip file in downloads and extracted to the libraries folder"
16
+
"* The latest [VTS libraries](https://github.com/VirtualPhotonics/Vts.Scripting.Python/releases) have been downloaded from the zip file in releases and extracted to the libraries folder"
Copy file name to clipboardExpand all lines: scripting/monte_carlo/demo_02_DAW_vs_CAW.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
"\n",
15
15
"* [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) has been installed\n",
16
16
"\n",
17
-
"* The [VTS libraries](https://github.com/VirtualPhotonics/VTS) have been downloaded from the zip file in downloads and extracted to the libraries folder"
17
+
"* The latest [VTS libraries](https://github.com/VirtualPhotonics/Vts.Scripting.Python/releases) have been downloaded from the zip file in releases and extracted to the libraries folder"
0 commit comments