Skip to content

Commit 2970d59

Browse files
committed
conda: fix/update metadata
1 parent 322d4d3 commit 2970d59

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

recipe/meta.yaml

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
# https://docs.conda.io/projects/conda-build/en/stable/resources/define-metadata.html#loading-data-from-other-files
2+
# TODO: use scikit-build-core & setuptools_scm instead
3+
{% set project = load_file_data('../src/Python/pyproject.toml', from_recipe_dir=True).get('project', {}) %}
14
package:
2-
name: ccpi-regulariser
3-
version: {{ environ.get('GIT_DESCRIBE_TAG','v')[1:] }}
5+
name: {{ project.get('name') }}
6+
version: {{ project.get('version') }}
47

58
build:
69
preserve_egg_dir: False
@@ -32,6 +35,6 @@ requirements:
3235
- libgcc-ng # [unix]
3336

3437
about:
35-
home: http://www.ccpi.ac.uk
36-
license: BSD license
37-
summary: 'CCPi Core Imaging Library Quantification Toolbox'
38+
home: https://tomographicimaging.github.io/CIL/
39+
license: Apache-2.0
40+
summary: 'The set of CPU/GPU optimised regularisation modules for iterative image reconstruction and other image processing tasks'

0 commit comments

Comments
 (0)