Skip to content

Commit

Permalink
Pull requirements/host from pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Feb 27, 2023
1 parent af0f3ef commit 8dfb748
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions conda/recipes/dask-cuda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ requirements:
host:
- python
- pip
- tomli
- versioneer >=0.24
{% for r in data.get("build-system", {}).get("requires", []) %}
- {{ r }}
{% endfor %}
run:
- python
{% for r in data.get("project", {}).get("dependencies", []) %}
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=64.0.0",
"tomli ; python_version < '3.11'",
"versioneer>=0.24",
"setuptools >=64.0.0",
"tomli", # Unneeded for Python 3.11+
"versioneer >=0.24",
]

[project]
Expand Down

0 comments on commit 8dfb748

Please sign in to comment.