Skip to content

Commit

Permalink
add setpath.ps1 for windows powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
kopetri authored and Speierers committed Apr 27, 2021
1 parent 2752228 commit 2cd84c8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setpath.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

# ***************************************************************
# * This script adds Mitsuba to the current path on Windows.
# * It assumes that Mitsuba is either compiled within the
# * source tree or within a subdirectory named 'build'.
# ***************************************************************

$env:MITSUBA_DIR=Get-Location
$env:PATH=$env:PATH + ";" + $env:MITSUBA_DIR + "\dist;" + $env:MITSUBA_DIR + "\build\dist"
$env:PYTHONPATH=$env:PYTHONPATH + ";" +$env:MITSUBA_DIR + "\dist\python;" + $env:MITSUBA_DIR + "\build\dist\python"

0 comments on commit 2cd84c8

Please sign in to comment.