Skip to content

Commit 5ef9e36

Browse files
stefmolinlwasser
authored andcommitted
Update PyPI URL source to avoid confusion when distribution name has hyphens
1 parent f31ba96 commit 5ef9e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/publish-conda-forge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ package:
244244
version: {{ version }}
245245
246246
source:
247-
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyospackage-{{ version }}.tar.gz
247+
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name.replace('-', '_') }}/pyospackage-{{ version }}.tar.gz
248248
sha256: 43ec82da3a10752a5dbf2f0ef742e357803a3ddb400005f87e86534685bfb8a7
249249
250250
build:

0 commit comments

Comments
 (0)