Skip to content

Commit 5dff6ec

Browse files
stefmolinlwasser
authored andcommitted
Update publish-conda-forge.md
1 parent 5ef9e36 commit 5dff6ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/publish-conda-forge.md

Lines changed: 3 additions & 3 deletions
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.replace('-', '_') }}/pyospackage-{{ version }}.tar.gz
247+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
248248
sha256: 43ec82da3a10752a5dbf2f0ef742e357803a3ddb400005f87e86534685bfb8a7
249249
250250
build:
@@ -397,7 +397,7 @@ If you want to learn more about static libraries, then [this overview](https://p
397397

398398
```bash
399399
source:
400-
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyospackage-{{ version }}.tar.gz
400+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
401401
sha256: 01e31f5521973710d0d91b15a94491d4f8f8f54566322110098c0f2381dd09ab
402402
403403
build:
@@ -411,7 +411,7 @@ build:
411411
**Translation:** Here conda wants you to provide a link to the source distribution on PyPI rather than a link to your GitHub repository distribution. Notice above in the Source section of your recipe there is a `url:` section that provides a PyPI url that ends in tar.gz. That is a link to your source distribution that conda-forge will use.
412412

413413
```yaml
414-
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyospackage-{{ version }}.tar.gz
414+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
415415
```
416416

417417
> - [x] GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.

0 commit comments

Comments
 (0)