File: C:/Users/fred/anaconda3/pkgs/pyerfa-2.0.1.4-py312h4b0e54e_0/info/recipe/meta.yaml.template
{% set name = "pyerfa" %}
{% set version = "2.0.1.4" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: acb8a6713232ea35c04bc6e40ac4e461dfcc817d395ef2a3c8051c1a33249dd3
build:
number: 0
skip: true # [py<39]
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
requirements:
build:
- {{ compiler('c') }}
host:
- python
- pip
- wheel
- setuptools
- setuptools_scm >=6.2
- jinja2 >=2.10.3
# Build currently fails on python 3.9 & 3.10 without this pinning included.
# Also upstream documentation is not accurate when building with numpy 1.
- numpy 1.22 # [py<311]
- numpy {{ numpy }} # [py>=311]
run:
- python
- {{ pin_compatible('numpy') }}
test:
requires:
- pytest-doctestplus
- pip
- pytest
imports:
- erfa
commands:
- pip check
- pytest --pyargs erfa -vv
about:
home: https://pyerfa.readthedocs.io/
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE.rst
summary: Python bindings for ERFA routines
description: |
PyERFA is the Python wrapper for the ERFA library (Essential Routines for
Fundamental Astronomy), a C library containing key algorithms for astronomy,
which is based on the SOFA library published by the International
Astronomical Union (IAU). All C routines are wrapped as Numpy universal
functions, so that they can be called with scalar or array inputs.
The project is a split of astropy._erfa module, developed in the context of
Astropy project, into a standalone package. It contains the ERFA C source
code as a git submodule. The wrapping is done with help of the Jinja2
template engine.
doc_url: https://pyerfa.readthedocs.io/
dev_url: https://github.com/liberfa/pyerfa
extra:
recipe-maintainers:
- mwcraig
- astrofrog-conda-forge
- avalentino