diff --git a/conda/meta.yaml b/conda/meta.yaml index f412c7f9dde6edb212af6ae1a214bfad307395dc..2a13100531d791f02ceee95a63e27f104d35baed 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -14,7 +14,7 @@ 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 . --no-deps --ignore-installed --no-cache-dir -vvv" requirements: host: @@ -37,7 +37,6 @@ test: - bob-devel {{ bob_devel }}.* - beat-devel {{ beat_devel }}.* - bob.extension - - nose - pytest - pytest-qt - pytest-cov @@ -50,11 +49,8 @@ test: commands: - beat editor --help - - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} - - if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi - - if [ -n "${BEAT_BROWSER_TESTS}" ]; then npm install; fi - - if [ -n "${BEAT_BROWSER_TESTS}" ]; then CHROMIUM_BIN=chromium-browser npm test; fi - - if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd -; fi + - beat editor start --help + - pytest --cov={{ name }} -v {{ project_dir }}/ - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx - conda inspect linkages -p $PREFIX {{ name }} # [not win]