fedora-python / fedora-python/Pello

Uppercase project name won't showcase the differences anymore

Offen
#15 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
5
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

> Thanks to the capital P, Pello differs from the [normalized name](https://www.python.org/dev/peps/pep-0503/#normalized-name) pello, so we can show where each of them is needed.

[PEP 625](https://peps.python.org/pep-0625/#specification) specified the sdist filename to be equivalent to the name normalized according to the wheel specification.

This means following [these rules](https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode):

```
In distribution names, any run of -_. characters (HYPHEN-MINUS, LOW LINE and FULL STOP) should be replaced with _ (LOW LINE), and uppercase characters should be replaced with corresponding lowercase ones.
```

As a result, once a new Pello version is released, there won't be any uppercase Pello in the resulting specfiles.

A better example would be a one with hyphens and undescores, as this is the only difference between the project name and sdist name normalization.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.