Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with license file when running pip install . #149

Open
imatiach-msft opened this issue Jan 14, 2020 · 1 comment
Open

Problem with license file when running pip install . #149

imatiach-msft opened this issue Jan 14, 2020 · 1 comment

Comments

@imatiach-msft
Copy link
Collaborator

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.

@imatiach-msft
Copy link
Collaborator Author

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
Labels
None yet
Development

No branches or pull requests

1 participant