8000 add Gentoo path to default_data_dir by alunduil · Pull Request #1331 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

add Gentoo path to default_data_dir #1331

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 1 commit into from
Apr 5, 2016
Merged

Conversation

alunduil
Copy link
Contributor
@alunduil alunduil commented Apr 5, 2016

Gentoo uses a wrapper around pythons to handle their dynamic default
python selection on a system with many versions of python installed
simultaneously. Due to this mypy's script is a symlink to a file in
/usr/lib/python-exec/python3.5. This means that the search path needs
to check if python-exec is being used and return the appropriate path
(usually '/usr/lib'). This patch works successfully on my Gentoo system.

Fixes #653.

Gentoo uses a wrapper around pythons to handle their dynamic default
python selection on a system with many versions of python installed
simultaneously.  Due to this mypy's script is a symlink to a file in
/usr/lib/python-exec/python3.5.  This means that the search path needs
to check if python-exec is being used and return the appropriate path
(usually '/usr/lib').  This patch works successfully on my Gentoo system.

Fixes python#653.
@gvanrossum gvanrossum merged commit bbd7007 into python:master Apr 5, 2016
@gvanrossum
Copy link
Member

Thanks for your contribution!

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.

2 participants
0