Skip to content
Snippets Groups Projects

Try to use cp instead of install for doc-dir installation

Merged André Anjos requested to merge cp-instead-of-install into master
All threads resolved!
1 file
+ 6
7
Compare changes
  • Side-by-side
  • Inline
+ 6
7
@@ -14,12 +14,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 and license to share/doc
# so it is available during test time
- install -d ${PREFIX}/share/doc/{{ name }}
- install -m 644 -D README.rst ${PREFIX}/share/doc/{{ name }}
- install -m 644 -D LICENSE ${PREFIX}/share/doc/{{ name }}
- find doc -type f -exec install -m 644 -D "{}" "${PREFIX}/share/doc/{{ name }}/{}" \;
# 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:
host:
@@ -54,6 +52,7 @@ test:
about:
home: https://www.idiap.ch/software/bob/
license: BSD 3-Clause
summary: A collection of zc.buildout recipes for Bob packages
license: BSD 3-Clause
license_family: BSD
license_file: ../LICENSE
Loading