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

python: User base directory is ~/.local #3075

Closed
alaviss opened this issue Sep 18, 2018 · 2 comments
Closed

python: User base directory is ~/.local #3075

alaviss opened this issue Sep 18, 2018 · 2 comments
Labels

Comments

@alaviss
Copy link
Contributor

alaviss commented Sep 18, 2018

$ python -c 'import site; site.getuserbase()'
/boot/home/.local
$ python3 -c 'import site; site.getuserbase()'
/boot/home/.local

This should be moved to B_USER_NONPACKAGED_DIRECTORY

@OscarL
Copy link
Contributor

OscarL commented May 10, 2022

For whatever its worth, with Python 3.7.12, python3 -c 'import site; print(site.getuserbase())' returns:

/boot/home/config/non-packaged

Not sure about Python2.7. Maybe this can be closed, unless we still care about 2.7 for some reason.

@OscarL
Copy link
Contributor

OscarL commented Dec 1, 2023

Time to close this one, as Python 2.x is no more, and the versions we currently support have this already fixed.

cc @Begasus :-)

@Begasus Begasus closed this as completed Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants