fix host and run steps, replace underline with dash in PyPI name
@@ -6,7 +6,7 @@ package:
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name|replace("_","-") }}/{{ name|replace("_","-") }}-{{ version }}.tar.gz
sha256: 6588efbc5d4ab87b05a9a37fdd0be6464d290dc985bc2fb0e5b8425fca7fb93a
build:
@@ -15,17 +15,15 @@ build:
script: {{ PYTHON }} -m pip install . -vv
requirements:
- build:
+ host:
- python >=3.6
- setuptools >=45
- setuptools_scm >=6.2
- wheel
- host:
+ run:
- python >=3.6
- pytest
- loguru
- run:
- - python
test:
imports:
