GithubHelp home page GithubHelp logo

Comments (4)

jdx avatar jdx commented on July 16, 2024

I technically could add this (the data exists already) but every language I've seen has static runtime directories. They can override them with bin/list-bin-paths but most don't (including python). If a plugin doesn't have one then the paths are just $INSTALL_DIR/bin. Even the ones that do override /bin only add other static directories. So there shouldn't be a need to have a dynamic way to fetch this information.

You should be able to do this with:

set -gx PIPX_DEFAULT_PYTHON (rtx where python)/bin/python

However I just noticed that rtx where isn't working correctly. rtx where python should give you the current python version but it's giving the latest. I'll fix that shortly.

from mise.

delicb avatar delicb commented on July 16, 2024

Thanks for the quick response.

I tried rtx where, but I stumbled on the problem you mentioned (in retrospect, I did not figure out that it is the problem) - it returned python 3.11.1 and I have 3.10.6 in .tool-versions (and I did grep, so it did not find it). With rtx where returning right answer - that solves my use case, I don't expect to have the need for plugin that override bin/list-bin-paths.

Thanks, I will be watching releases for rtx where fix.

from mise.

jdx avatar jdx commented on July 16, 2024

Fixed by #24

from mise.

jdx avatar jdx commented on July 16, 2024

closing since where should work now

from mise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.