Skip to content

Package with '-' (dash) in name create '_' underscore in wheel file name. (DOC ISSUE) #439

@matthewsht

Description

@matthewsht

I have a namespaced package called "orgname-thing".
Setup.cfg has name as orgname-thing

Everything works as expected except:
on build, I get a file name "orgname-thing-version.tar.gz" -- expected that.
"orgname_thing-version-py3-none-any.whl" --- did not expect that.

I'm fairly certain this is the INTENDED behavior - my "issue" is I can't figure out why. I've consulted builds docs, googled for PEP's and have no clue.

(In addition, pip with a extra_index_url looks for "orgname-thing/orgname_thing*whl" which was REALLY surprising.)

In short, I'm asking for docs on why this is intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions