Commit cfbe1ad9 authored by Lucas Giardino's avatar Lucas Giardino

agrego entrypoint con script para abrir el dashboard de una

parent 68124d65
Pipeline #53 failed with stages
import subprocess
import os
def main():
dir_path = os.path.dirname(os.path.realpath(__file__))
subprocess.call(['sh', f'{dir_path}/open_dashboard.sh'])
if __name__ == '__main__':
main()
#!/bin/sh
# TODO: Dejar el path este como una variable de entorno, o un parametro para el user
# o algo asi, pero dejarlo hardcodeado esta destinado a fallar.
cd $HOME/Documents/artiq/artiq_master
nix-shell --run "artiq_session 2>/dev/null" ../my-artiq-env.nix
......@@ -4,7 +4,7 @@ import sys
if sys.version_info[:3] < (3, 5, 3):
raise Exception("Requires Python 3.5.3+")
console_scripts = []
console_scripts = ['open_dashboard=pyLIAF.frontend.open_dashboard:main']
gui_scripts = []
# requirements = []
......
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