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