Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
holoviz
GitHub Repository: holoviz/panel
Path: blob/main/scripts/conda/recipe/meta.yaml
2013 views
1
{% set pyproject = load_file_data('../../../pyproject.toml', from_recipe_dir=True) %}
2
{% set project = pyproject['project'] %}
3
4
package:
5
name: {{ project["name"] }}
6
version: {{ VERSION }}
7
8
source:
9
url: ../../../dist/{{ project["name"] }}-{{ VERSION }}.tar.gz
10
11
build:
12
noarch: python
13
script: {{ PYTHON }} -m pip install --no-deps -vv .
14
entry_points:
15
{% for group,epoints in project.get("entry_points",{}).items() %}
16
{% for entry_point in epoints %}
17
- {{ entry_point }}
18
{% endfor %}
19
{% endfor %}
20
21
requirements:
22
build:
23
- python {{ project['requires-python'] }}
24
{% for dep in pyproject['build-system']['requires'] %}
25
- {{ dep }}
26
{% endfor %}
27
run:
28
- python {{ project['requires-python'] }}
29
{% for dep in project.get('dependencies', []) %}
30
- {{ dep }}
31
{% endfor %}
32
33
test:
34
imports:
35
- panel
36
- panel.io
37
requires:
38
- pip
39
- pytest-asyncio
40
- pytest-rerunfailures <16
41
- pytest-xdist
42
- esbuild
43
commands:
44
- pip check
45
- panel --help
46
- pytest --pyargs panel.tests -n logical --dist loadgroup
47
48
about:
49
home: {{ project['urls']['Homepage'] }}
50
summary: {{ project['description'] }}
51
license: {{ project['license']['text'] }}
52
53