fix: replace package name earlier
{% set name = "duckdb-engine" %}
+{% set package_name = name | replace("-", "_") %}
{% set version = "0.1.8" %}
package:
@@ -6,7 +7,7 @@ package:
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name | replace("-", "_") }}/{{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ package_name }}/{{ package_name }}-{{ version }}.tar.gz
sha256: 08688e92e0c872e498f4f7bddec252fc0368bbc5b67028fab608ffdcd3d9197a
build:
