mirror of https://github.com/abinit/abipy.git
Add requirements-panel.txt
This commit is contained in:
parent
4f47979869
commit
e815ce1c3c
|
@ -22,10 +22,11 @@ _ABINIT_TEMPLATE_NAME = "FastList"
|
|||
|
||||
|
||||
def get_abinit_template_cls_kwds():
|
||||
#return pn.Column, {}
|
||||
cls = get_template_cls_from_name(_ABINIT_TEMPLATE_NAME)
|
||||
kwds = dict(header_background="#ff8c00", # Dark orange
|
||||
#favicon="assets/img/abinit_favicon.ico",
|
||||
#logo="assets/img/abipy_logo.png", # TODO: Need new panel versio to fix logo alignment in FastLIst.
|
||||
#logo="assets/img/abipy_logo.png", # TODO: Need new panel version to fix logo alignment in FastLIst.
|
||||
)
|
||||
|
||||
return cls, kwds
|
||||
|
|
|
@ -8,7 +8,7 @@ import panel as pn
|
|||
|
||||
|
||||
@click.command()
|
||||
@click.option('--port', default=80, help="Port to listen on. Default: 80")
|
||||
@click.option('--port', default=5006, help="Port to listen on. Default: 5006")
|
||||
@click.option('--address', default=None, help="The address the server should listen on for HTTP requests.")
|
||||
@click.option('--show', default=True, help="Open server app(s) in a browser")
|
||||
@click.option('--num_procs', default=1, help="Number of worker processes for the app. Defaults to 1")
|
||||
|
@ -116,6 +116,7 @@ compare the interpolated band structure with the *ab-initio* one.
|
|||
links = pn.pane.Markdown(links)
|
||||
|
||||
for url, app in app_routes.items():
|
||||
#if not hasattr(app, "sidebar"): continue
|
||||
app.sidebar.append(links)
|
||||
|
||||
# Call pn.serve to serve the multipage app.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# List of all optional dependencies.
|
||||
# This file includes other requirements-*.txt files providing libraries for specialized target
|
||||
# so that we can easily select what we need
|
||||
|
||||
jupyter
|
||||
nbformat
|
||||
pygments
|
||||
|
@ -7,16 +11,10 @@ scikit-image
|
|||
#graphviz or python-graphviz if conda
|
||||
phonopy
|
||||
ase
|
||||
click
|
||||
param
|
||||
panel
|
||||
bokeh
|
||||
XlsxWriter # For DataFrame.to_excel()
|
||||
#pymdown-extensions
|
||||
# Unit tests
|
||||
python-coveralls
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-xdist
|
||||
pytest-sugar
|
||||
scripttest
|
||||
|
||||
# Libraries required by AbiPy panel applications.
|
||||
-r requirements-panel.txt
|
||||
|
||||
# Libraries required for running unit tests.
|
||||
-r requirements-tests.txt
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
# Libraries required by AbiPy panel applications.
|
||||
param
|
||||
panel
|
||||
bokeh
|
||||
XlsxWriter # For DataFrame.to_excel()
|
||||
#pymdown-extensions
|
|
@ -0,0 +1,7 @@
|
|||
# Libraries required for running unit tests.
|
||||
python-coveralls
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-xdist
|
||||
pytest-sugar
|
||||
scripttest
|
|
@ -18,3 +18,4 @@ seaborn
|
|||
plotly
|
||||
ipython
|
||||
chart-studio
|
||||
click
|
||||
|
|
Loading…
Reference in New Issue