Giter Club home page Giter Club logo

Custom manual installation within a dedicated 'build' directory, in a proot-distro alias of Debian chroot, in a Termux host environment: require `make install` instructions, post-successful BAT test, and successful custom make about pyenv HOT 1 OPEN

b9Joker108 avatar b9Joker108 commented on June 2, 2024
Custom manual installation within a dedicated 'build' directory, in a proot-distro alias of Debian chroot, in a Termux host environment: require `make install` instructions, post-successful BAT test, and successful custom make

from pyenv.

Comments (1)

native-api avatar native-api commented on June 2, 2024

as I could find no express instructions for a manual installation within the README.md or within the locally cloned repository, other than the rudimentary git clone instructions

https://github.com/pyenv/pyenv?tab=readme-ov-file#installation

Git clone instructions are not "rudimentary", it's one of the supported installations schemes.

not ok 85 non-writable shims directory
# (from function `flunk' in file /root/.pyenv/test/test_helper.bash, line 42,
#  from function `assert_failure' in file /root/.pyenv/test/test_helper.bash, line 56,
#  in test file /root/.pyenv/test/rehash.bats, line 24)
#   `assert_failure "pyenv: cannot rehash: ${PYENV_ROOT}/shims isn't writable"' failed
# expected failed exit status
#  output:

This should not be a big deal in your case. This test checks that non-writable shims directory is correctly handled by Pyenv logic. You can see the test's code at

pyenv/test/rehash.bats

Lines 20 to 25 in aabaa89

@test "non-writable shims directory" {
mkdir -p "${PYENV_ROOT}/shims"
chmod -w "${PYENV_ROOT}/shims"
run pyenv-rehash
assert_failure "pyenv: cannot rehash: ${PYENV_ROOT}/shims isn't writable"
}
.
Most likely, in your system, there are other security mechanisms that override UNIX permissions and chmod -w has no effect as a result.

Eleventh, all that remains is a make install, post-successful make.

Not needed. Pyenv is written in Bash so it doesn't require compilation. Makefile is only needed to run tests (which is mainly useful for development) and to build an optional shell extension that speeds up some internal operations. An instruction to build the extension is present in the Basic Git checkout README section as it's only needed when using this installation scheme.

from pyenv.

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.