Loading openflexure_microscope/install.py 0 → 100644 +14 −0 Original line number Diff line number Diff line from pynpm import NPMPackage import os dir_path = os.path.dirname(os.path.realpath(__file__)) pkg_path = os.path.join(dir_path, "api", "static", "package.json") pkg = NPMPackage(pkg_path) def install(): pkg.install() def build(): pkg.install() pkg.run_script('build') No newline at end of file Loading
openflexure_microscope/install.py 0 → 100644 +14 −0 Original line number Diff line number Diff line from pynpm import NPMPackage import os dir_path = os.path.dirname(os.path.realpath(__file__)) pkg_path = os.path.join(dir_path, "api", "static", "package.json") pkg = NPMPackage(pkg_path) def install(): pkg.install() def build(): pkg.install() pkg.run_script('build') No newline at end of file