{% set name = "tensorboard" %}
{% set version = "2.17.0" %}

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

source:
  url: https://pypi.io/packages/py3/t/tensorboard/tensorboard-{{ version }}-py3-none-any.whl
  sha256: 859a499a9b1fb68a058858964486627100b71fcb21646861c61d31846a6478fb

build:
  number: 0
  skip: True  # [py<39]
  entry_points:
    - tensorboard = tensorboard.main:run_main

requirements:
  build:
    - m2-sed # [win]
    - sed # [unix]
  host:
    - python
    - pip
    - setuptools
    - wheel
  run:
    - python
    - six >=1.9
    - numpy >=1.12.0
    - protobuf >=3.19.6,!=4.24.0,<5.0.0
    - werkzeug >=1.0.1
    - markdown >=2.6.8
    - absl-py >=0.4
    - grpcio >=1.48.2
    - setuptools >=41.0.0
    - tensorboard-data-server >=0.7.0,<0.8.0

test:
  requires:
    - pip
  imports:
    - tensorboard
  commands:
    - tensorboard -h
    - pip check

about:
  home: https://www.tensorflow.org/tensorboard
  license: Apache-2.0
  license_family: Apache
  license_file: LICENSE
  summary: TensorFlow's Visualization Toolkit
  description: |
    TensorBoard is a suite of web applications for inspecting and understanding your TensorFlow runs and graphs.
  dev_url: https://github.com/tensorflow/tensorboard
  doc_url: https://www.tensorflow.org/tensorboard/get_started

extra:
  recipe-maintainers:
    - sdvillal
    - gilbertfrancois
    - farhantejani
    - mdraw
    - jschueller
    - xhochy
    - ngam
