Skip to content

Commit

Permalink
Merge pull request #374 from informatics-lab/fix-conda-build
Browse files Browse the repository at this point in the history
use os.path.join and not / to support Windows build
  • Loading branch information
andrewgryan authored May 14, 2020
2 parents 7e3950f + c39dff8 commit 79648b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion forest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.. automodule:: forest.presets
"""
__version__ = '0.16.2'
__version__ = '0.16.3'

from .config import *
from . import (
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BuildJSCommand(setuptools.command.build_py.build_py):
"""
def run(self):
cwd = os.getcwd()
os.chdir("forest/js")
os.chdir(os.path.join("forest", "js"))
if not os.path.exists("node_modules"):
subprocess.check_call(["npm", "install"])
subprocess.check_call(["npm", "run", "build"])
Expand Down

0 comments on commit 79648b4

Please sign in to comment.