Skip to content

Commit

Permalink
license and urls added and comment fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpatrou committed Aug 30, 2023
1 parent 746b0f9 commit ac5ab8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
-# load information from pyproject.toml through poetry
# load information from pyproject.toml through poetry
{% set pyproject = load_file_data('pyproject.toml') %}
{% set poetry = pyproject.get('tool', {}).get('poetry') %}
{% set license = poetry.get('license') %}
{% set description = poetry.get('description') %}
{% set url = poetry.get('repository') %}
# this will get the version set by environment variable
{% set version = environ.get('VERSION') %}
{% set git_describe_number = environ.get('GIT_DESCRIBE_NUMBER', '0') | string %}


package:
name: shiver
version: {{ version }}
Expand Down Expand Up @@ -36,6 +36,7 @@ requirements:

about:
home: {{ url }}
license: {{ license }}
license_family: GPL
license_file: ../LICENSE
summary: {{ description }}
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dependencies = [

[tool.poetry]
description = "Spectroscopy Histogram Visualizer for Event Reduction"
url = "https://github.com/neutrons/Shiver/"
license = "GPL3.0"

[project.urls]
homepage = "https://github.com/neutrons/Shiver/"
Expand Down

0 comments on commit ac5ab8e

Please sign in to comment.