{% set version = "1.1.1" %}
{% set sha256 = "1b349dd36aca30d682cbfa1d078be838aca7dc48ba6686316c2532719e2965a8" %}

package:
  name: jupyter_kernel_gateway
  version: {{ version }}

source:
  fn: jupyter-kernel-gateway-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/j/jupyter_kernel_gateway/jupyter_kernel_gateway-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt
  entry_points:
    - jupyter-kernelgateway = kernel_gateway:launch_instance

requirements:
  build:
    - python
    - setuptools
  run:
    - jupyter_client >=4.2.0
    - jupyter_core >=4.0
    - notebook >=4.1.0
    - traitlets >=4.2.0
    - requests >=2.7
    - tornado >=4.2.0

test:
  imports:
    - kernel_gateway
    - kernel_gateway.base
    - kernel_gateway.jupyter_websocket
    - kernel_gateway.notebook_http
    - kernel_gateway.notebook_http.cell
    - kernel_gateway.notebook_http.swagger
    - kernel_gateway.services
    - kernel_gateway.services.activity
    - kernel_gateway.services.kernels
    - kernel_gateway.services.kernelspecs
    - kernel_gateway.services.sessions
  commands:
    - jupyter-kernelgateway --help
    - jupyter kernelgateway --help

about:
  home: http://github.com/jupyter-incubator/dashboards
  license: BSD 3-Clause
  license_file: LICENSE.md
  summary: Jupyter Kernel Gateway
  doc_url: https://jupyter-kernel-gateway.readthedocs.io
  dev_url: https://github.com/jupyter/kernel_gateway

extra:
  recipe-maintainers:
    - parente

Add Jupyter kernel gateway recipe
Add Jupyter kernel gateway recipe
