Skip to content

Commit

Permalink
add URLs to conda package metadata (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Sep 5, 2024
1 parent 5bb3c64 commit b0fe712
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conda/recipes/legate-boost/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
)[0] %}
{% set py_version = environ['CONDA_PY'] %}
{% set project_data = pyproject_data["project"] %}
{% set project_urls = project_data["urls"] %}
{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %}
{% set cuda_major = cuda_version.split('.')[0] %}

Expand Down Expand Up @@ -132,7 +133,11 @@ test:
- pip show legate-boost

about:
home: {{ project_urls["Homepage"] }}
dev_url: {{ project_urls["Repository"] }}
doc_url: {{ project_urls["Documentation"] }}
license: {{ project_data["license"]["text"] }}
license_family: Apache
license_file: LICENSE
license_url: {{ project_urls["License"] }}
summary: {{ project_data["description"] }}
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ test = [
"xgboost",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

[project.urls]
Homepage = "https://docs.nvidia.com/legate/latest/"
Documentation = "https://rapidsai.github.io/legate-boost"
Repository = "https://github.com/rapidsai/legate-boost"
License = "https://github.com/rapidsai/legate-boost/blob/main/LICENSE"

[tool.setuptools.dynamic]
version = {file = "legateboost/VERSION"}

Expand Down

0 comments on commit b0fe712

Please sign in to comment.