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 år sedan
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 år sedan
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 år sedan
Bjorn Neergaard
cc35fbd0b8
Use ls instead of find to list definitions
7 år sedan
Rémi Lapeyre
9be58802c1
Force y, Y, yes or YES to confirm installation
7 år sedan
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 år sedan
LWisteria
0e3f04c429
Check wget version iff wget is going to be used
reapplying 4ebba7cd5f , which is (accidently?) reverted by fc90785f75
8 år sedan
Yamashita, Yuu
c8ad3385c7
Import latest changes from https://github.com/rbenv/ruby-build as of v20180424
8 år sedan
Yamashita, Yuu
fc90785f75
Allow overriding HTTP client type based on environment variable `PYTHON_BUILD_HTTP_CLIENT` ( #1126 )
8 år sedan
Yamashita, Yuu
980b03b582
Update warning message on presence of `PIP_VERSION`
8 år sedan
Yamashita, Yuu
f5663f084a
Show some warning on the use of `PIP_VERSION`
8 år sedan
Yamashita, Yuu
90dfb261e2
Use custom get-pip URL based on the target version ( #1127 )
8 år sedan
Yamashita, Yuu
15ff779eb5
Refactoring
Manage `GET_PIP_URL` value at single place for readability.
8 år sedan
Yamashita, Yuu
ed2d2a921e
Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error ( pyenv/pyenv-installer#70 )
8 år sedan
Jens Hedegaard Nielsen
59846ca9b1
Set openssl PKG_CONFIG_PATH for python 3.7 ( #1117 )
8 år sedan
Tim Savage
3daed2e517
Added entries to support installing ActivePython (linux)
8 år sedan
Hiro Asari
2ba2d8797b
Add 3.8-dev to point to `master`
Push 3.7-dev to `3.7` branch
8 år sedan
Josh Friend
71f09a6d71
Add PyPy[23] 5.10
closes #1061
8 år sedan
Kjetil Limkjær
dc145fa5a2
Added true fallback to num_cpu_cores SunOS case
8 år sedan
Kjetil Limkjær
5149c53165
Add SunOS case statement to num_cpu_cores
8 år sedan
Kjetil Limkjær
c5e4bab858
Fix pyenv install on Solaris / Illumos
pyenv install crashes on Solaris with an empty log file. Adding support for the proper Solaris getconf call in num_cpu_cores fixed it. Tested and working under OmniOS CE r151024.
8 år sedan
LWisteria
4ebba7cd5f
Check wget version iff wget is going to be used
Do not check when tarball is cached
8 år sedan
Zach Riggle
19e2b9588a
Fix $PWD changes when executing Python
Specifically, this does not play well with PWD=/proc/self/cwd
8 år sedan
Ville Skyttä
fc4f496545
Get number of processors using getconf over cpuinfo grep
8 år sedan
Yamashita, Yuu
ecc5ff5ead
Fix a bug in handling of `PACKAGE_MAKE_INSTALL_TARGET`
8 år sedan
Yamashita, Yuu
4521552662
Imported recent changes from the latest https://github.com/rbenv/ruby-build as of Oct 31, 2017 ( #1025 )
8 år sedan
Jamie Connolly
eb70ee3e73
Ignore LibreSSL bundled with macOS 10.13
8 år sedan
Ville Skyttä
2f4caa83b7
micropython-dev: unix dir moved to ports/unix
8 år sedan
Yamashita, Yuu
2a4b203312
Skip passing `--enable-unicode` for CPython 3.3+ ( fixes #912 )
8 år sedan
Nikita Grishko
09bc868ea8
Remove extra spaces in checksum ( #976 )
Fixes #902 .
8 år sedan
Yamashita, Yuu
b1d32217c3
Avoid creating a symlink for symlink
9 år sedan
Yamashita, Yuu
41f00c639d
Check if copying file is a file or not
9 år sedan
Yamashita, Yuu
bb352f8822
Add `genc` as a dependency
9 år sedan
Yamashita, Yuu
0fe7d78503
Check pycparser's availability when building PyPy from source
9 år sedan
Yamashita, Yuu
fc23323ed4
Revert "Avoid choosing virtualenv when building PyPy from source"
This reverts commit 63c00d9989 .
9 år sedan
Yamashita, Yuu
63c00d9989
Avoid choosing virtualenv when building PyPy from source
9 år sedan
Yamashita, Yuu
98878e5d12
Changed default PyPy build option; specify `--batch` to avoid launching interactive debugger
9 år sedan
Yamashita, Yuu
0cbfcf09d4
Fix pattern match for PyPy versions
9 år sedan
Yamashita, Yuu
269a702321
Fix wrong variable reference
9 år sedan
Yamashita, Yuu
adc0365923
Add support for PyPy3 executables like `libpypy3-c.so` ( fixes #955 )
9 år sedan
Ville Skyttä
7add7793cd
micropython-dev: Set better sys.path
9 år sedan
Ville Skyttä
fd1fb13016
Add micropython-dev
9 år sedan
José Oliveros
aad7c0e055
add -f to anaconda install script
9 år sedan
Yamashita, Yuu
d01fa09a7d
Migrate project URL to https://github.com/pyenv/pyenv
9 år sedan
Yamashita, Yuu
3d36ee7227
Change default mirror site to https://pyenv.github.io
9 år sedan
Yamashita, Yuu
9a99d427ef
`--quiet` options isn't sensible for sha256sum(1) of GNU coreutils ( fixes #840 )
The option is available only if verifying digest, not available when computing digest.
> --quiet
> don't print OK for each successfully verified file
9 år sedan
Yamashita, Yuu
afbd54dd13
Revert "use $ORIGIN for rpath so the built python can be copied"
9 år sedan
woosley
2657f1049c
use $ORIGIN for rpath so the built python can be copied
9 år sedan
Yamashita, Yuu
0464221edb
Specify `-O0` when `--debug` has specified ( fixes #808 )
9 år sedan
Yamashita, Yuu
322aa82ae7
I should have created stub script in `$BUILD_PATH` explicltly since `pwd` isn't changed before `install_jar`
9 år sedan