Skip to content

Derive package name from setuptools fullname#4

Open
cottsay wants to merge 1 commit into
dirk-thomas:mainfrom
cottsay:setuptools-normalized-name
Open

Derive package name from setuptools fullname#4
cottsay wants to merge 1 commit into
dirk-thomas:mainfrom
cottsay:setuptools-normalized-name

Conversation

@cottsay
Copy link
Copy Markdown

@cottsay cottsay commented Apr 16, 2024

The value given by --name is the verbatim package name, while the --fullname yields the normalized package name used by setuptools followed by the version.

We can trim off the version part to get the normalized name so that the proper package name is used when looking for the archives produced by the wheel build process.

The value given by --name is the verbatim package name, while the
--fullname yields the normalized package name used by setuptools followed
by the version.

We can trim off the version part to get the normalized name so that the
proper package name is used when looking for the archives produced by
the wheel build process.
@j-rivero
Copy link
Copy Markdown

The value given by --name is the verbatim package name, while the --fullname yields the normalized package name used by setuptools followed by the version.

Confirmed that is the case on latest versions of setuptools starting with 69.3.0 https://setuptools.pypa.io/en/latest/history.html#id7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants