Commit 82564547 authored by Tao Feng's avatar Tao Feng Committed by Jin Hyuk Chang

Update setup.py script to fix installation issue (#85)

parent 3d4b4a09
......@@ -21,7 +21,7 @@ def build_js() -> None:
logging.error('npm must be available')
try:
subprocess.check_call(['npm install --only=prod'], cwd=PACKAGE_DIR, shell=True)
subprocess.check_call(['npm install'], cwd=PACKAGE_DIR, shell=True)
subprocess.check_call(['npm run build'], cwd=PACKAGE_DIR, shell=True)
except Exception as e:
logging.warn('Installation of npm dependencies failed')
......@@ -34,7 +34,7 @@ requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'r
with open(requirements_path) as requirements_file:
requirements = requirements_file.readlines()
__version__ = '1.0.1'
__version__ = '1.0.2'
setup(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment