Skip to content

Commit 1abf2ea

Browse files
committed
add conda recipe
1 parent 2761a4a commit 1abf2ea

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

conda.recipe/meta.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{% set sdata = load_setup_py_data() %}
2+
3+
package:
4+
name: bokeh-django
5+
version: {{ sdata['version'] }}
6+
7+
source:
8+
path: ..
9+
10+
build:
11+
noarch: python
12+
number: 0
13+
script: python setup.py install --single-version-externally-managed --record=record.txt
14+
15+
16+
requirements:
17+
build:
18+
- python=3.7*
19+
- setuptools
20+
run:
21+
- python
22+
23+
# dependencies are defined in setup.py
24+
{% for dep in sdata['install_requires'] %}
25+
- {{ dep.lower() }}
26+
{% endfor %}
27+
28+
29+
test:
30+
imports:
31+
- bokeh_django
32+
- bokeh_django.consumers
33+
34+
about:
35+
home: {{ sdata['url'] }}
36+
summary: {{ sdata['description'] }}
37+
license: {{ sdata['license'] }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_namespace_packages
22

3-
dependencies = []
3+
dependencies = ['bokeh', 'channels']
44

55
setup(
66
name='bokeh-django',

0 commit comments

Comments
 (0)