Felix Yan
4039709dfe
Correct a typo in python-build
6 anni fa
graham
b7f4ace335
working with tcl-tk in PYTHON_CONFIGURE_OPTS
6 anni fa
Christopher Wilson
a71e590a44
Fix path to Unix port in micropython build
6 anni fa
Christopher Wilson
8bebdb7f1a
Build mpy-cross dependency for micropython builds
6 anni fa
Mikhail Bulash
4157973301
Find zlib from Xcode or brew on Mojave ( #1353 )
fixes #1219 , #1333
7 anni fa
Josh Friend
2350e57b00
Add CPython 3.8.0b1
7 anni fa
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
7 anni fa
Yamashita, Yuu
70e173381e
Use GNU Readline 8.0
7 anni fa
Yamashita, Yuu
b551fed8d5
Imported changes from rbenv/ruby-build 20190401
7 anni fa
Yamashita, Yuu
79481d686f
Fix typos
7 anni fa
Yamashita, Yuu
6d279501b5
Add extra code to configure with `--with-openssl` which is supported by CPython 3.7+
7 anni fa
Yamashita, Yuu
62395cabb5
Allow overriding the preference of OpenSSL version per definition basis ( #1302 , #1325 , #1326 )
7 anni fa
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 anni fa
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 anni fa
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 anni fa
Bjorn Neergaard
cc35fbd0b8
Use ls instead of find to list definitions
7 anni fa
Rémi Lapeyre
9be58802c1
Force y, Y, yes or YES to confirm installation
7 anni fa
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 anni fa
LWisteria
0e3f04c429
Check wget version iff wget is going to be used
reapplying 4ebba7cd5f , which is (accidently?) reverted by fc90785f75
8 anni fa
Yamashita, Yuu
c8ad3385c7
Import latest changes from https://github.com/rbenv/ruby-build as of v20180424
8 anni fa
Yamashita, Yuu
fc90785f75
Allow overriding HTTP client type based on environment variable `PYTHON_BUILD_HTTP_CLIENT` ( #1126 )
8 anni fa
Yamashita, Yuu
980b03b582
Update warning message on presence of `PIP_VERSION`
8 anni fa
Yamashita, Yuu
f5663f084a
Show some warning on the use of `PIP_VERSION`
8 anni fa
Yamashita, Yuu
90dfb261e2
Use custom get-pip URL based on the target version ( #1127 )
8 anni fa
Yamashita, Yuu
15ff779eb5
Refactoring
Manage `GET_PIP_URL` value at single place for readability.
8 anni fa
Yamashita, Yuu
ed2d2a921e
Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error ( pyenv/pyenv-installer#70 )
8 anni fa
Jens Hedegaard Nielsen
59846ca9b1
Set openssl PKG_CONFIG_PATH for python 3.7 ( #1117 )
8 anni fa
Tim Savage
3daed2e517
Added entries to support installing ActivePython (linux)
8 anni fa
Hiro Asari
2ba2d8797b
Add 3.8-dev to point to `master`
Push 3.7-dev to `3.7` branch
8 anni fa
Josh Friend
71f09a6d71
Add PyPy[23] 5.10
closes #1061
8 anni fa
Kjetil Limkjær
dc145fa5a2
Added true fallback to num_cpu_cores SunOS case
8 anni fa
Kjetil Limkjær
5149c53165
Add SunOS case statement to num_cpu_cores
8 anni fa
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 anni fa
LWisteria
4ebba7cd5f
Check wget version iff wget is going to be used
Do not check when tarball is cached
8 anni fa
Zach Riggle
19e2b9588a
Fix $PWD changes when executing Python
Specifically, this does not play well with PWD=/proc/self/cwd
8 anni fa
Ville Skyttä
fc4f496545
Get number of processors using getconf over cpuinfo grep
8 anni fa
Yamashita, Yuu
ecc5ff5ead
Fix a bug in handling of `PACKAGE_MAKE_INSTALL_TARGET`
8 anni fa
Yamashita, Yuu
4521552662
Imported recent changes from the latest https://github.com/rbenv/ruby-build as of Oct 31, 2017 ( #1025 )
8 anni fa
Jamie Connolly
eb70ee3e73
Ignore LibreSSL bundled with macOS 10.13
8 anni fa
Ville Skyttä
2f4caa83b7
micropython-dev: unix dir moved to ports/unix
8 anni fa
Yamashita, Yuu
2a4b203312
Skip passing `--enable-unicode` for CPython 3.3+ ( fixes #912 )
8 anni fa
Nikita Grishko
09bc868ea8
Remove extra spaces in checksum ( #976 )
Fixes #902 .
8 anni fa
Yamashita, Yuu
b1d32217c3
Avoid creating a symlink for symlink
9 anni fa
Yamashita, Yuu
41f00c639d
Check if copying file is a file or not
9 anni fa
Yamashita, Yuu
bb352f8822
Add `genc` as a dependency
9 anni fa
Yamashita, Yuu
0fe7d78503
Check pycparser's availability when building PyPy from source
9 anni fa
Yamashita, Yuu
fc23323ed4
Revert "Avoid choosing virtualenv when building PyPy from source"
This reverts commit 63c00d9989 .
9 anni fa
Yamashita, Yuu
63c00d9989
Avoid choosing virtualenv when building PyPy from source
9 anni fa
Yamashita, Yuu
98878e5d12
Changed default PyPy build option; specify `--batch` to avoid launching interactive debugger
9 anni fa
Yamashita, Yuu
0cbfcf09d4
Fix pattern match for PyPy versions
9 anni fa