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

Unexpected installation location as described in the document #2565

Closed
1 task done
Wsine opened this issue Jan 17, 2024 · 1 comment · Fixed by j178/pdm#1
Closed
1 task done

Unexpected installation location as described in the document #2565

Wsine opened this issue Jan 17, 2024 · 1 comment · Fixed by j178/pdm#1
Assignees
Labels
🐛 bug Something isn't working

Comments

@Wsine
Copy link

Wsine commented Jan 17, 2024

  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

curl -sSL https://pdm-project.org/install-pdm.py | python3 -

Actual behavior

Successfully installed: PDM (2.12.1) at /Users/xxx/Library/Python/3.9/bin/pdm
Post-install: Please add /Users/xxx/Library/Python/3.9/bin to PATH by executing:
    export PATH=/Users/xxx/Library/Python/3.9/bin:$PATH

Expected behavior

The pdm executable file should be installed in $HOME/.local/bin for Unix as described in the document.

https://pdm-project.org/latest/#:~:text=%24HOME/.local/bin%20for%20Unix

Environment Information

# Paste the output of `pdm info && pdm info --env` below:

Not related.

image

@Wsine Wsine added the 🐛 bug Something isn't working label Jan 17, 2024
@frostming
Copy link
Collaborator

The documentation is not correct.

We install the bin under site.getuserbase()

@frostming frostming self-assigned this Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants