Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pyLIAF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Nunez Barreto
pyLIAF
Commits
cfbe1ad9
Commit
cfbe1ad9
authored
Jun 12, 2021
by
Lucas Giardino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agrego entrypoint con script para abrir el dashboard de una
parent
68124d65
Pipeline
#53
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
open_dashboard.py
pyLIAF/frontend/open_dashboard.py
+9
-0
open_dashboard.sh
pyLIAF/frontend/open_dashboard.sh
+7
-0
setup.py
setup.py
+1
-1
No files found.
pyLIAF/frontend/open_dashboard.py
0 → 100644
View file @
cfbe1ad9
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
()
pyLIAF/frontend/open_dashboard.sh
0 → 100644
View file @
cfbe1ad9
#!/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
setup.py
View file @
cfbe1ad9
...
...
@@ -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 = []
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment