-
Notifications
You must be signed in to change notification settings - Fork 435
/
meta.yaml
53 lines (45 loc) · 1.41 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %}
{% set project = pyproject.get('project') %}
{% set urls = pyproject.get('project', {}).get('urls') %}
{% set version = environ.get('BUILD_VERSION', '0.9.0a0') %}
package:
name: {{ project.get('name') }}
version: {{ version }}
source:
fn: {{ project.get('name') | replace("-", "_") }}-{{ version }}.tar.gz
url: ../dist/{{ project.get('name') | replace("-", "_") }}-{{ version }}.tar.gz
build:
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
host:
- python>=3.9, <3.12
- setuptools
run:
- numpy >=1.16.0, <2.0.0
- scipy >=1.4.0, <2.0.0
- pillow >=9.2.0
- h5py >=3.1.0, <4.0.0
- opencv >=4.5.0, <5.0.0
- pypdfium2-team::pypdfium2_helpers >=4.0.0, <5.0.0
- pyclipper >=1.2.0, <2.0.0
- shapely >=1.6.0, <3.0.0
- langdetect >=1.0.9, <2.0.0
- rapidfuzz >=3.0.0, <4.0.0
- huggingface_hub >=0.20.0, <1.0.0
- defusedxml >=0.7.0
- anyascii >=0.3.2
- tqdm >=4.30.0
test:
requires:
- pip
- pytorch >=2.0.0, <3.0.0
- torchvision
imports:
- doctr
about:
home: {{ urls.get('repository') }}
license: Apache-2.0
license_file: {{ project.get('license', {}).get('file') }}
summary: {{ project.get('description') | replace(":", " -") }}
doc_url: {{ urls.get('documentation') }}
dev_url: {{ urls.get('repository') }}