The wheel name has an underscore
-{% set name = "pytest-watcher" %}
{% set version = "0.2.3" %}
package:
- name: {{ name|lower }}
+ name: pytest-watcher
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest-watcher-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/p/pytest-watcher/pytest-watcher-{{ version }}.tar.gz
sha256: 1937dd97e72caafd371d8cea7b3d70c88ff4fe35e6cdecb29c41bbdcbf1dcc2b
build:
@@ -16,9 +15,7 @@ build:
entry_points:
- ptw = pytest_watcher:run
- pytest-watcher = pytest_watcher:run
- script: |
- {{ PYTHON }} -m build --wheel --no-isolation .
- {{ PYTHON }} -m pip install $SRC_DIR/dist/{{ name }}-{{ version }}-py3-none-any.whl -vv
+ script: {{ PYTHON }} -m build --wheel --no-isolation . && {{ PYTHON }} -m pip install dist/*.whl -vv
requirements:
host:
