diff --git a/conda/meta.yaml b/conda/meta.yaml index ff053e6..07b1193 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -3,6 +3,7 @@ {% set description = pyproject.get('project').get('description') %} {% set version = environ.get('SETUPTOOLS_SCM_PRETEND_VERSION', "0.0.0.dev") %} {% set home = pyproject.get('project', {}).get('urls', {}).get('Homepage', '') %} +{% set license = pyproject.get('project').get('license') %} {% set build_deps = pyproject.get("build-system", {}).get("requires", []) %} {% set deps = pyproject.get('project', {}).get('dependencies', []) %} {% set conda_deps = pyproject.get('tool', {}).get('conda', {}).get('environment', {}).get('dependencies',[]) %} @@ -62,6 +63,7 @@ test: about: description: {{ description }} summary: {{ description }} + license: {{ license }} license-file: - LICENSE - src/cpp/LICENSE diff --git a/pyproject.toml b/pyproject.toml index 3c602fb..cadb645 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering", ] +license = "CECILL-C" license-files = ["LICEN[CS]E*", "src/cpp/LICENSE"] # version = "1.0.2" readme = "README.md"