Skip to content

Fix finding typeshed user install on Windows#3991

Merged
ilevkivskyi merged 3 commits into
python:masterfrom
emmatyping:userinstall
Sep 24, 2017
Merged

Fix finding typeshed user install on Windows#3991
ilevkivskyi merged 3 commits into
python:masterfrom
emmatyping:userinstall

Conversation

@emmatyping

@emmatyping emmatyping commented Sep 23, 2017

Copy link
Copy Markdown
Member

Python 3.5+ installs to %APPDATA%\python\PythonXY. Mypy, when installed as
user, installs typeshed to %APPDATA%\python\lib\mypy. This fixes the
issues with resolving the path to typeshed. Additionally, more debug
information is added to the error message to assist in debugging issues
like this in the future.

Fixes #3988

Python 3.5+ installs to %APPDATA%\python\PythonXY. Mypy, when installed as
user, installs typeshed to %APPDATA%\python\lib\mypy. This fixes the
issues with resolving the path to typeshed. Additionally, more debug
information is added to the error message to assist in debugging issues
like this in the future.

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Please fix capitalization to "mypy" .

@gvanrossum

Copy link
Copy Markdown
Member

Also you have a lint error

@emmatyping

Copy link
Copy Markdown
Member Author

I see Mypy used a fair amount in the bug tracker etc; just to be clear for the future, mypy should be used everywhere for consistency?

@gvanrossum

Copy link
Copy Markdown
Member

Mypy should be used at the start of a sentence, mypy otherwise.

@emmatyping

Copy link
Copy Markdown
Member Author

This should also fix #3761. After tests pass it should be ready to merge.

@emmatyping

Copy link
Copy Markdown
Member Author

The Appveyor failure is a flake. It has failed every push.

@ilevkivskyi ilevkivskyi merged commit 6c409b4 into python:master Sep 24, 2017
@emmatyping emmatyping mentioned this pull request Sep 24, 2017
@emmatyping emmatyping deleted the userinstall branch September 25, 2017 21:02
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.

typeshed not being found on windows user install

3 participants