Skip to content

Commit 934d49b

Browse files
committed
Add pyenv support
1 parent 93bd5ee commit 934d49b

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

README.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,17 @@ Now you can write things like::
3838

3939
f = λ a: a('hello')
4040
f(print)
41+
42+
Add to pyenv
43+
------------
44+
45+
In this repo there's a build file to use with `pyenv <https://github.com/pyenv/pyenv>`_.
46+
47+
Copy the build version with::
48+
49+
cp ./λython ${PYENV_ROOT}/plugins/python-build/share/python-build
50+
pyenv install λython
51+
52+
Then I'm confident you'll want to use this version as your global version::
53+
54+
pyenv global λython

λython

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
prefer_openssl3
2+
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
3+
export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
4+
export PYTHON_BUILD_CONFIGURE_WITH_DSYMUTIL=1
5+
install_package "openssl-3.3.0" "https://www.openssl.org/source/openssl-3.3.0.tar.gz#53e66b043322a606abf0087e7699a0e033a37fa13feb9742df35c3a33b18fb02" mac_openssl --if has_broken_mac_openssl
6+
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline
7+
install_git "lambda-python" "https://github.com/Bocchio/-ython" main standard verify_py314

0 commit comments

Comments
 (0)