Commit 88d796d3 authored by André Anjos's avatar André Anjos 💬
Browse files

[templates] Implements new documentation installation strategy to solve...

[templates] Implements new documentation installation strategy to solve test-only conda-builds based on tarballs
parent 0d967040
......@@ -15,6 +15,10 @@ build:
- python setup.py sdist --formats=zip
{% endif %}
- python setup.py install --single-version-externally-managed --record record.txt
# installs the documentation source, readme to share/doc so it is available
# during test time
- install -d "${PREFIX}/share/doc/{{ name }}"
- cp -R README.rst doc "${PREFIX}/share/doc/{{ name }}/"
requirements:
# place your build dependencies before the 'host' section
......@@ -47,7 +51,8 @@ test:
# extend this list with further test-time-only dependencies
about:
summary: (( title ))
home: https://www.idiap.ch/software/{{ group }}/
license: (% if license == 'gplv3' %)GNU General Public License v3 (GPLv3)(% else %)BSD 3-Clause(% endif %)
license_family: (% if license == 'gplv3' %)GPL(% else %)BSD(% endif %)
summary: (( title ))
license_file: (% if license == 'gplv3' %)../COPYING(% else %)../LICENSE(% endif %)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment