Use underscores in package name and pypi download path
-{% set name = "switch-model" %}
{% set version = "2.0.3" %}
package:
- name: {{ name|lower }}
+ name: switch_model
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ url: https://pypi.io/packages/source/s/switch_model/switch_model-{{ version }}.tar.gz
+ sha256: a389790ae468ac007aece58b36abfc3ec3fb5c1f081ef0a669f52c8aa810392e
build:
noarch: python
