Skip to content

Commit

Permalink
Add Python package sos-notebook.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdblischak committed Jan 28, 2019
1 parent 66e75e6 commit 183315f
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes/sos-notebook/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"%PYTHON%" -m pip install . --no-deps --ignore-installed -vv
IF %ERRORLEVEL% NEQ 0 exit 1

:: Install sos kernel for jupyter
:: --sys-prefix = $PREFIX/share/jupyter/kernels/sos/
"%PYTHON%" -m sos_notebook.install --sys-prefix
7 changes: 7 additions & 0 deletions recipes/sos-notebook/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

$PYTHON -m pip install . --no-deps --ignore-installed -vv

# Install sos kernel for jupyter
# --sys-prefix = $PREFIX/share/jupyter/kernels/sos/
$PYTHON -m sos_notebook.install --sys-prefix
56 changes: 56 additions & 0 deletions recipes/sos-notebook/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "sos-notebook" %}
{% set version = "0.18.3" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: c3c86b3a60329c1684633dcc29cb9332bcd0141ec4722d989e2466c0903d128f

build:
noarch: python
number: 0

requirements:
host:
- ipython
- notebook >=5.0.0
- pip
- python >=3.6
run:
- ipykernel
- ipython
- markdown
- nbconvert >=5.1.1
- nbformat
- notebook >=5.0.0
- pandas
- python >=3.6
- setuptools
- sos >=0.18.2
- tabulate

test:
imports:
- sos_notebook
commands:
- jupyter kernelspec list | grep -w sos # [unix]
- jupyter kernelspec list | findstr sos # [win]

about:
home: https://github.com/vatlab/SOS
license: BSD
license_family: BSD
license_file: LICENSE
summary: "Script of Scripts (SoS): an interactive, cross-platform, and
cross-language workflow system for reproducible data analysis"
doc_url: https://vatlab.github.io/sos-docs/
dev_url: https://github.com/vatlab/sos-notebook

extra:
recipe-maintainers:
- BoPeng
- gaow
- jdblischak

0 comments on commit 183315f

Please sign in to comment.