Skip to content

Problem with license file when running pip install . #149

Open

Description

@imatiach-msft

Describe the bug
If user runs "pip install ." the installation fails with error:

error: [Errno 2] No such file or directory: 'LICENSE.txt'

The file needs to be copied from the directory above to the current directory to fix the build. Not sure how to optimally resolve this, one option may be to have duplicate license files.

Activity

  1. imatiach-msft commented on Oct 30, 2020

    @imatiach-msft
    CollaboratorAuthor

    Just had someone else hit this issue again. It doesn't occur from the pypi install, just the local "pip install ." command. Also it doesn't occur with "pip install -e .", and in fact "pip install -e ." seems to copy over the LICENSE.txt file and fix the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions