Skip to content

Fix finding typeshed user install on Windows #3991

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

Merged
merged 3 commits into from
Sep 24, 2017

Conversation

emmatyping
Copy link
Member

@emmatyping emmatyping commented Sep 23, 2017

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.
Copy link
Member

@gvanrossum gvanrossum left a comment

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
Member

Also you have a lint error

@emmatyping
Copy link
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
Member

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

@emmatyping
Copy link
Member Author

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

@emmatyping
Copy link
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