-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Type: Question ❔This is a question or a request for support.This is a question or a request for support.
Description
I am trying to install directly from GitHub by the following command
pipenv install -e git+https://github.com/cikay/public_repo.git@main#egg=public_repo
I got
WARNING: Generating metadata for package public-repo produced metadata for project name main. Fix your #egg=public-repo fragments.
Discarding git+https://github.com/cikay/public_repo.git#egg=public-repo: Requested main from git+https://github.com/cikay/public_repo.git#egg=public-repo has inconsistent name: expected 'public-repo', but metadata has 'main'
ERROR: Could not find a version that satisfies the requirement public-repo (unavailable) (from versions: none)
ERROR: No matching distribution found for public-repo (unavailable)
When I specify egg=main
It installs. Why I have to specify package name as the same with the branch name?
Metadata
Metadata
Assignees
Labels
Type: Question ❔This is a question or a request for support.This is a question or a request for support.