Use requires-python from pyproject.toml in conda-recipe
This commit is contained in:
@@ -17,15 +17,14 @@ build:
|
|||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
host:
|
host:
|
||||||
- python >=3.8
|
- python {{ pyproject['project']['requires-python'] }}
|
||||||
- hatchling
|
- hatchling
|
||||||
run:
|
run:
|
||||||
- python >=3.8
|
- python {{ pyproject['project']['requires-python'] }}
|
||||||
{% for dep in pyproject['project']['dependencies'] %}
|
{% for dep in pyproject['project']['dependencies'] %}
|
||||||
- {{ dep }}
|
- {{ dep }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
||||||
about:
|
about:
|
||||||
home: {{ pyproject['project']['urls']['Homepage'] }}
|
home: {{ pyproject['project']['urls']['Homepage'] }}
|
||||||
summary: {{ pyproject['project']['description'] }}
|
summary: {{ pyproject['project']['description'] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user