Skip to content

Commit 5d61e15

Browse files
committed
use os.path.join and not / to support Windows build
1 parent 7e3950f commit 5d61e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class BuildJSCommand(setuptools.command.build_py.build_py):
6363
"""
6464
def run(self):
6565
cwd = os.getcwd()
66-
os.chdir("forest/js")
66+
os.chdir(os.path.join("forest", "js"))
6767
if not os.path.exists("node_modules"):
6868
subprocess.check_call(["npm", "install"])
6969
subprocess.check_call(["npm", "run", "build"])

0 commit comments

Comments
 (0)