Skip to content

Commit 77d8d77

Browse files
authored
Use release version of pyctdev (#37)
* Use released version of pyctdev * Removing package-name arg * nbsite -> colorcet
1 parent e0ff3c7 commit 77d8d77

2 files changed

Lines changed: 45 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- pip install pyctdev && doit miniconda_install && pip uninstall -y doit pyctdev
3434
- export PATH="$HOME/miniconda/bin:$PATH" && hash -r
3535
- conda config --set always_yes True
36-
- conda install -c pyviz/label/dev pyctdev && doit ecosystem_setup
36+
- conda install -c pyviz pyctdev && doit ecosystem_setup
3737
before_script:
3838
- doit env_create --name=colorcet --python=$PYENV_VERSION
3939
- source activate colorcet
@@ -88,7 +88,7 @@ jobs:
8888
stage: conda_dev_package
8989
env: LABELS=$LABELS_DEV CHANS=$CHANS_DEV
9090
before_script:
91-
- travis_wait 60 doit package_build $CHANS $PKG_TEST_PYTHON --package-name colorcet --test-group=unit
91+
- travis_wait 60 doit package_build $CHANS $PKG_TEST_PYTHON --test-group=unit
9292
script: doit package_upload --token=$ANACONDA_TOKEN $LABELS
9393

9494
## release packages

conda.recipe/meta.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{% set sdata = load_setup_py_data() %}
2+
3+
package:
4+
name: colorcet
5+
version: {{ sdata['version'] }}
6+
7+
source:
8+
path: ..
9+
10+
build:
11+
noarch: python
12+
script: python setup.py install --single-version-externally-managed --record=record.txt
13+
entry_points:
14+
{% for group,epoints in sdata.get("entry_points",{}).items() %}
15+
{% for entry_point in epoints %}
16+
- {{ entry_point }}
17+
{% endfor %}
18+
{% endfor %}
19+
20+
requirements:
21+
build:
22+
- python {{ sdata['python_requires'] }}
23+
{% for dep in sdata['extras_require']['build'] %}
24+
- {{ dep }}
25+
{% endfor %}
26+
run:
27+
- python {{ sdata['python_requires'] }}
28+
{% for dep in sdata.get('install_requires',{}) %}
29+
- {{ dep }}
30+
{% endfor %}
31+
32+
test:
33+
imports:
34+
- colorcet
35+
requires:
36+
{% for dep in sdata['extras_require']['tests'] %}
37+
- "{{ dep }}"
38+
{% endfor %}
39+
40+
about:
41+
home: {{ sdata['url'] }}
42+
summary: {{ sdata['description'] }}
43+
license: {{ sdata['license'] }}

0 commit comments

Comments
 (0)