diff --git a/conda/meta.yaml b/conda/meta.yaml index 63afbcb92f75faeb62613c9211eed90d07a6543a..6f3ecaa926a4d25abc8c9bac68471456abccf623 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -14,12 +14,17 @@ build: {% if environ.get('BUILD_EGG') %} - python setup.py sdist --formats=zip {% endif %} - - python setup.py install --single-version-externally-managed --record record.txt + - "{{ PYTHON }} -m pip install . -vv" + # 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 requirements.txt doc "${PREFIX}/share/doc/{{ name }}/" requirements: host: - python {{ python }} - setuptools {{ setuptools }} + - pip {{ pip }} - bob.extension - bob.blitz - bob.io.base