-
Notifications
You must be signed in to change notification settings - Fork 76
/
meta.yaml
49 lines (42 loc) · 1.38 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') %}
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
{% set py_version=environ.get('CONDA_PY', 37) %}
{% set date_string = environ['RAPIDS_DATE_STRING'] %}
package:
name: jupyterlab-nvdashboard
version: {{ version }}
source:
path: ../../..
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: py_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script: python -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
noarch: python
script_env:
- NODE_OPTIONS=--openssl-legacy-provider
requirements:
host:
- python >=3.7
- setuptools
- pynvml
- psutil
- nodejs !=16.10.0
- jupyter-packaging >=0.7.0,<0.8
run:
- python >=3.7
- jupyterlab >=3.0.0,<4
- jupyter-server-proxy >=1.3.2
- bokeh >2.1
- pynvml
- psutil
test:
imports:
- jupyterlab_nvdashboard
commands:
- test -f ${PREFIX}/share/jupyter/labextensions/jupyterlab-nvdashboard/package.json # [unix]
- if exist %PREFIX%\\share\\jupyter\\labextensions\\jupyterlab-nvdashboard\\package.json (exit 0) else (exit 1) # [win]
about:
home: https://rapids.ai
license: BSD-3
summary: 'A JupyterLab extension for displaying dashboards of GPU usage.'
dev_url: https://github.com/rapidsai/jupyterlab-nvdashboard