Skip to content

Commit 261d714

Browse files
committed
add project metadata for PyPI
1 parent b6d7aad commit 261d714

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

conda/recipes/rapids-build-backend/meta.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ requirements:
3030
{% endfor %}
3131

3232
about:
33-
home: https://rapids.ai/
33+
home: {{ data["project"]["urls"]["Homepage"] }}
3434
license: {{ pyproject_data["project"]["license"]["text"] }}
3535
license_file: {{ pyproject_data["tool"]["setuptools"]["license-files"][0] }}
3636
summary: {{ summary }}
@@ -39,5 +39,5 @@ about:
3939
RAPIDS. It does not directly perform builds, but rather performs various
4040
RAPIDS-specific metadata manipulations before calling down to another build
4141
backend like setuptools to finish the job.
42-
doc_url: https://docs.rapids.ai/
43-
dev_url: https://github.com/rapidsai/rapids-build-backend
42+
dev_url: {{ data["project"]["urls"]["Source"] }}
43+
doc_url: {{ data["project"]["urls"]["Documentation"] }}

pyproject.toml

+11
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ dependencies = [
1818
"tomlkit",
1919
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
2020
license = { text = "Apache 2.0" }
21+
classifiers = [
22+
"Intended Audience :: Developers",
23+
"License :: OSI Approved :: Apache Software License",
24+
"Programming Language :: Python :: 3",
25+
"Topic :: Software Development :: Build Tools",
26+
]
2127
readme = { file = "README.md", content-type = "text/markdown" }
2228

2329
[project.optional-dependencies]
@@ -26,6 +32,11 @@ test = [
2632
"pytest",
2733
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
2834

35+
[project.urls]
36+
Homepage = "https://github.com/rapidsai/rapids-build-backend"
37+
Issues = "https://github.com/rapidsai/rapids-build-backend/issues"
38+
Source = "https://github.com/rapidsai/rapids-build-backend"
39+
2940
[tool.setuptools]
3041
license-files = ["LICENSE"]
3142

0 commit comments

Comments
 (0)