Ivan Pozdeev
ddf952ab2d
Allow for cases where user might've aliased some programs
The $(type -p | head -1) construct expects to always get a path, so need to ignore such aliases with -P
Closes https://github.com/pyenv/pyenv/issues/1662
пре 5 година
Ivan Pozdeev
fdbcdd38f1
Add a version-neutral verify fn for rolling-release scripts
E.g. "*-latest"
May need splitting into project-specific ones if there emerge projects with different check needed
Closes https://github.com/pyenv/pyenv/issues/1559
пре 5 година
Anton Petrov
328fd42c3a
support for pyston 2.2
пре 5 година
Fredrik Averpil
1edded3426
Update 3.10-dev and 3.11-dev ( #1897 )
пре 5 година
Mateusz Neumann
1bacfa5445
Update GET_PIP_URL
The bootstrap.pypa.io URLs for pip installation changed.
пре 5 година
Anton Petrov
a2634350f4
Fixed typo
Added aarch64 for Linux in anaconda_architecture()
пре 5 година
Anton Petrov
2fd00096de
Added aarch64 for Linux in anaconda_architecture()
Added aarch64 for Linux in anaconda_architecture()
пре 5 година
Earl Chew
4c3f2cce3e
[python-build] Support PYENV_DEBUG
fixes #1805
пре 5 година
Christian Clauss
93025e9aa4
Also fix Python 3.4 and 3.5 which do not support f-strings
пре 5 година
Christian Clauss
189afa88c6
Fix get-pip which dropped support for legacy Python
Fix pyenv to continue to support legacy Python builds despite the fact that `get-pip` has dropped support for Python 2 as discussed in pypa/get-pip#87
пре 5 година
Anton Petrov
9e03d1b62e
Added arm64 architecture support in python-build for macOS ( #1775 )
* Update python-build with arm64 architecture
пре 5 година
tillhainbach
9052491a05
Change order of LDFLAGS paths ( #1754 )
пре 5 година
Benjamin Howell
943015ebb2
Add LDFLAGS for zlib on macOS >= 1100 ( #1711 )
Add LDFLAGS for Xcode SDK zlib on macOS >= 1100 to resolve build issues on Big Sur.
пре 5 година
James Curtin
5d84eed869
Add support for PYTHON_BUILD_MIRROR_URL when checksums do not exist ( #1673 )
пре 5 година
Tim Felgentreff
f44cb70d93
Add Graalpython 20.1.0 and 20.2.0 ( #1594 )
пре 5 година
Filip Chabik
ea7b5c4aea
Fix has_tar_xz_support function on FreeBSD. ( #1652 )
пре 6 година
Ryan Williams
af122400ed
Make grep detection more robust ( #1663 )
пре 6 година
Paul Ganssle
cd2c26ef71
Add 3.10-dev
пре 6 година
David Baumgold
5e8719ab0e
Remove Ruby references from python-build ( #1596 )
* Remove Ruby references from python-build
* restore fix_directory_permissions
пре 6 година
Varun Agrawal
a8f5fc13ee
Improved messages for uninstall ( #1591 )
пре 6 година
Sudarshan Wadkar
b1381d1d46
Fix python-build `brew: command not found` error ( #1544 )
This PR fixes (currently harmless) warning on macOS when homebrew is *not* installed.
- [ ] Test case (required?)
For example:
```sh
wadkar$ pyenv install 3.8.2
/Users/wadkar/.pyenv/plugins/python-build/bin/python-build: line 1541: brew: command not found
/Users/wadkar/.pyenv/plugins/python-build/bin/python-build: line 1541: brew: command not found
Installing openssl-1.1.0j...
Installed openssl-1.1.0j to /Users/wadkar/.pyenv/versions/3.8.2
Installing readline-8.0...
Installed readline-8.0 to /Users/wadkar/.pyenv/versions/3.8.2
Installing Python-3.8.2...
python-build: use zlib from xcode sdk
Installed Python-3.8.2 to /Users/wadkar/.pyenv/versions/3.8.2
```
пре 6 година
Christoph Reiter
20a1f0cd7a
Add PyPy 7.3.0
The official pypy builds should now be portable on linux.
Also add aarch64 builds.
пре 6 година
Felix Yan
4039709dfe
Correct a typo in python-build
пре 6 година
graham
b7f4ace335
working with tcl-tk in PYTHON_CONFIGURE_OPTS
пре 6 година
Christopher Wilson
a71e590a44
Fix path to Unix port in micropython build
пре 6 година
Christopher Wilson
8bebdb7f1a
Build mpy-cross dependency for micropython builds
пре 6 година
Mikhail Bulash
4157973301
Find zlib from Xcode or brew on Mojave ( #1353 )
fixes #1219 , #1333
пре 7 година
Josh Friend
2350e57b00
Add CPython 3.8.0b1
пре 7 година
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
пре 7 година
Yamashita, Yuu
70e173381e
Use GNU Readline 8.0
пре 7 година
Yamashita, Yuu
b551fed8d5
Imported changes from rbenv/ruby-build 20190401
пре 7 година
Yamashita, Yuu
79481d686f
Fix typos
пре 7 година
Yamashita, Yuu
6d279501b5
Add extra code to configure with `--with-openssl` which is supported by CPython 3.7+
пре 7 година
Yamashita, Yuu
62395cabb5
Allow overriding the preference of OpenSSL version per definition basis ( #1302 , #1325 , #1326 )
пре 7 година
Alysson Oliveira
ee75a75385
Run autoreconf intead autoconf
пре 7 година
Thomas Waldmann
dda597efb3
macOS: prefer homebrew openssl 1.1.x over 1.0.x, see #839
previously, it was not possibly to compile a python with homebrew
openssl 1.1 because the code always queried "openssl" and ignored
"openssl@1.1".
now, if 1.1 is installed, it is used to compile python and only
if it is not, 1.0 is checked and used.
пре 7 година
Casey McGinty
83e5459cfb
Remove shebang lines from scripts for performance
All scripts in libexec/ (excluding pyenv) are called through pyenv,
therefore the shebang lines are not necessary. On some systems this
provides a measurable increase in performance of the shell prompt.
Related to pyenv/pyenv-virtualenv#259
пре 8 година
Chris Hunt
3018241aee
Install python-gdb.py.
The script in `Tools/gdb/libpython.py` has helper functions for
debugging Python processes under gdb. When installed to `{exe}-gdb.py`
it will automatically be loaded by gdb assuming it is in the safe path.
gdb resolves all symlinks, so having the single script is sufficient
regardless of how Python is invoked.
Since it is usually only included as part of a dbg/dev package, this
file is intentionally excluded from install by the CPython build
scripts. Like the packaging with EPEL/Debian, we opt to manually copy
it after the build/install.
To ensure this file gets picked up it is enough for users to put this in
their `~/.gdbinit`:
```
add-auto-load-safe-path ~/.pyenv
```
Fixes #1190 .
пре 7 година
Bjorn Neergaard
cc35fbd0b8
Use ls instead of find to list definitions
пре 7 година
Rémi Lapeyre
9be58802c1
Force y, Y, yes or YES to confirm installation
пре 7 година
Daniel Hahler
4f21d9a2ea
Fix abs_dirname for relative symlinks in same directory
Ref (abs_dirname in bats): https://github.com/sstephenson/bats/pull/224
Ref: https://github.com/rbenv/rbenv/pull/868
Fixes https://github.com/pyenv/pyenv/issues/580
пре 7 година
LWisteria
0e3f04c429
Check wget version iff wget is going to be used
reapplying 4ebba7cd5f , which is (accidently?) reverted by fc90785f75
пре 8 година
Yamashita, Yuu
c8ad3385c7
Import latest changes from https://github.com/rbenv/ruby-build as of v20180424
пре 8 година
Yamashita, Yuu
fc90785f75
Allow overriding HTTP client type based on environment variable `PYTHON_BUILD_HTTP_CLIENT` ( #1126 )
пре 8 година
Yamashita, Yuu
980b03b582
Update warning message on presence of `PIP_VERSION`
пре 8 година
Yamashita, Yuu
f5663f084a
Show some warning on the use of `PIP_VERSION`
пре 8 година
Yamashita, Yuu
90dfb261e2
Use custom get-pip URL based on the target version ( #1127 )
пре 8 година
Yamashita, Yuu
15ff779eb5
Refactoring
Manage `GET_PIP_URL` value at single place for readability.
пре 8 година
Yamashita, Yuu
ed2d2a921e
Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error ( pyenv/pyenv-installer#70 )
пре 8 година
Jens Hedegaard Nielsen
59846ca9b1
Set openssl PKG_CONFIG_PATH for python 3.7 ( #1117 )
пре 8 година