native-api

Results 407 comments of native-api

@comrumino I think normalizing like `(cd $path; echo $PWD)` would be the easiest way -- as it removes `..`s without resolving links.

@comrumino `realpath` and `readlink` resolve links. We don't need that since there may be links in `$PYENV_ROOT` or under `$PYENV_ROOT/versions`.

@pyenv/pyenv-core-maintainers Any opinions? AFAICS, the tool is completely independent from Pyenv and its bundled completions, it maintains its own database (I dunno how flexible and that probably means that it's...

> > `pyenv install 3.9:latest` > > Honestly, I couldn't find it anywhere. Is this option shown somewhere in the documentation or in the `--help`? It's specified in https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-install It's...

Looks like someone misunderstood the README instructions. The `echo >>~/.bashrc` lines are meant to be executed upon Pyenv installation (interactively or otherwise), not copied into your `rc` files verbatim. @janithpet...

What's the expected behavior? Install all? First? Highest (it's a separate question how to determine it)? The current behavior is probably the best -- it effectively shows that Pyenv doesn't...

Envvars: `CPPFLAGS` (`-I` switches should preferrably go here), `CFLAGS`, `LDFLAGS`, `CONFIGURE_OPTS` -- for all packages; `PYTHON_` for switches that should only affect Python build and not any dep builds. https://github.com/pyenv/pyenv/tree/master/plugins/python-build#special-environment-variables...

Huh? [Choosing the Python version section](https://github.com/pyenv/pyenv#choosing-the-python-version) introduces all the ways to switch between versions, including `local` and `global`.

@alper I understood it just fine when I first learned Pyenv in order to answer https://stackoverflow.com/questions/40718770/pytest-running-with-another-version-of-python/40720333#40720333. Since then, I've seen so many people making a mess of pyenv+virtualenv+system Python and...