diff --git a/conda/meta.yaml b/conda/meta.yaml index 8cf8ffdbd2dfbdd296ea71eb1d07d5563b89b500..5712c89a4cf90bebae1872794ef07e84e0971707 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -17,9 +17,9 @@ build: script: - cd {{ environ.get('RECIPE_DIR') + '/..' }} {% if environ.get('BUILD_EGG') %} - - python setup.py sdist --formats=zip + - "{{ 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 }}" @@ -29,6 +29,7 @@ requirements: host: - python {{ python }} - setuptools {{ setuptools }} + - pip {{ pip }} - docopt {{ docopt }} - numpy {{ numpy }} - requests {{ requests }}