Skip to content
Snippets Groups Projects
Commit aa7ff90d authored by Yannick DAYER's avatar Yannick DAYER
Browse files

[conda] Fix the meta.yaml 'name' jinja variable.

parent cf9aa2d4
No related branches found
No related tags found
1 merge request!45Switch to the new package structure using citools
Pipeline #66603 passed
{% set data = load_file_data(RECIPE_DIR + '/../pyproject.toml') %} {% set data = load_file_data(RECIPE_DIR + '/../pyproject.toml') %}
{% set name = data['project']['name'] %}
package: package:
name: {{ data['project']['name'] }} name: {{ name }}
version: {{ data['project']['version'] }} version: {{ data['project']['version'] }}
source: source:
...@@ -38,7 +39,7 @@ test: ...@@ -38,7 +39,7 @@ test:
source_files: source_files:
- tests - tests
imports: imports:
- {{ data['project']['name'].replace('-','_') }} - {{ name.replace('-','_') }}
commands: commands:
- conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx] - conda inspect objects -p $PREFIX {{ name }} # [osx]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment