Skip to content

Commit 650c9b0

Browse files
authored
Create a conda recipe for merlin-systems (NVIDIA-Merlin#101)
Adds a conda recipe so that we can publish merlin-systems to anaconda Closes NVIDIA-Merlin#100
1 parent 7f71585 commit 650c9b0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

conda/recipes/meta.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright (c) 2021, NVIDIA CORPORATION.
2+
3+
# Usage:
4+
# conda build . -c defaults -c conda-forge -c numba -c rapidsai
5+
6+
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.1').lstrip('v') + environ.get('VERSION_SUFFIX', '') %}
7+
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
8+
{% set git_revision_count=environ.get('GIT_DESCRIBE_NUMBER', 0) %}
9+
{% set py_version=environ.get('CONDA_PY', 36) %}
10+
{% set setup_py_data = load_setup_py_data() %}
11+
12+
package:
13+
name: merlin-systems
14+
version: {{ version }}
15+
16+
source:
17+
path: ../../
18+
19+
build:
20+
number: {{ git_revision_count }}
21+
script: python -m pip install . -vvv
22+
23+
requirements:
24+
run:
25+
{% for req in setup_py_data.get('install_requires', []) %}
26+
- {{ req }}
27+
{% endfor %}
28+
- python
29+
30+
about:
31+
home: https://github.com/NVIDIA-Merlin/systems
32+
license_file: LICENSE
33+
summary: Merlin Systems provides tools for combining recommendation models with other elements of production recommender systems (like feature stores, nearest neighbor search, and exploration strategies) into end-to-end recommendation pipelines that can be served with Triton Inference Server.

0 commit comments

Comments
 (0)