summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)AuthorLines
2023-12-26[3.11] gh-101778: Fix build error when there's a dangling symlink in the ↵Ronald Oussoren-0/+1
directory containing "ffi.h" (#113466) gh-101778: Fix build error when there's a dangling symlink in the directory containing "ffi.h"
2022-12-17[3.11] gh-96002: Add functional test for Argument Clinic (GH-96178) (#100230)colorfulappl-0/+3
(cherry picked from commit c450c8c9ed6e420025f39d0e4850a79f8160cdcd) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-06-27[3.11] gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) ↵Christian Heimes-2/+2
(GH-94317) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-24gh-93692: remove "build finished successfully" message from setup.py (GH-93693)Miss Islington (bot)-1/+0
The message was only emitted when the build succeeded _and_ there were missing modules. (cherry picked from commit ab077d1e17032f84514292ae3fb8dee9bcfd2ce9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-05-19gh-78630: Drop invalid HP aCC compiler switch -fPIC on HP-UX (GH-8847)Miss Islington (bot)-3/+0
At compile time, '+z' is already properly used with HP aCC, and shared libraries are correctly linked with '+b'. The '-fPIC' switch can safely be dropped. (cherry picked from commit 09be18a73d81aa82cc57a782f3b0a9811e43ad3b) Co-authored-by: Michael Osipov <michael.osipov@siemens.com>
2022-05-03gh-89452: Prefer gdbm-compat over ndbm (#92208)Łukasz Langa-1/+1
This makes macOS gdbm provided by Homebrew not segfault through correct selection of the linked library (-lgdbm_compat) *AND* the correct ndbm-style header (gdbm-ndbm.h instead of the invalid ndbm.h).
2022-04-14gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680)Erlend Egeberg Aasland-0/+1
Authored-by: Aviv Palivoda <palaviv@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> Co-authored-by: palaviv <palaviv@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-09Fix some typos in comments (GH-32422)jonasdlindner-1/+1
2022-03-31bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698)Erlend Egeberg Aasland-379/+2
- Remove ``--with-tclk-*`` options from `configure` - Use pkg-config to detect `_tkinter` dependencies (Tcl/Tk, X11) - Manual override via environment variables `TCLTK_CFLAGS` and `TCLTK_LIBS`
2022-03-22bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986)Christian Heimes-0/+5
- Add requires_fork and requires_subprocess to more tests - Skip extension import tests if dlopen is not available - Don't assume that _testcapi is a shared extension - Skip a lot of socket tests that don't work on Emscripten - Skip mmap tests, mmap emulation is incomplete - venv does not work yet - Cannot get libc from executable The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped).
2022-03-17Fix whitespace error in setup.py (GH-31960)Erlend Egeberg Aasland-1/+1
2022-01-27bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929)Victor Stinner-1/+3
Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale.
2021-12-08bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967)Christian Heimes-1/+3
2021-12-07bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969)Christian Heimes-25/+32
2021-12-04bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747)Christian Heimes-32/+25
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-11-28bpo-45847: Port _multiprocessing to PY_STDLIB_MOD (GH-29768)Erlend Egeberg Aasland-11/+7
2021-11-24bpo-45881: Use CC from env first for cross building (GH-29752)Christian Heimes-10/+9
2021-11-24bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741)Christian Heimes-11/+1
2021-11-24bpo-45847: Port _posixshmem to PY_STDLIB_MOD (GH-29738)Erlend Egeberg Aasland-14/+1
2021-11-23bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720)Christian Heimes-7/+1
2021-11-23bpo-45847: Port _ssl and _hashlib to PY_STDLIB_MOD (GH-29727)Christian Heimes-75/+2
2021-11-23bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725)Christian Heimes-14/+1
2021-11-23bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713)Erlend Egeberg Aasland-4/+2
2021-11-22bpo-45847: Port xxlimited and xxlimited_35 to PY_STDLIB_MOD (GH-29707)Erlend Egeberg Aasland-6/+4
2021-11-22bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706)Christian Heimes-2/+6
2021-11-22bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE ↵Erlend Egeberg Aasland-4/+3
(GH-29705) Automerge-Triggered-By: GH:tiran
2021-11-22bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699)Christian Heimes-43/+1
2021-11-22bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702)Christian Heimes-25/+4
2021-11-22bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703)Erlend Egeberg Aasland-3/+3
2021-11-22bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696)Erlend Egeberg Aasland-6/+1
Co-authored-by: Christian Heimes <christian@python.org>
2021-11-22bpo-45847: Various PY_STDLIB_MOD cleanups (GH-29697)Christian Heimes-6/+4
2021-11-22bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing ↵Erlend Egeberg Aasland-10/+8
to PY_STDLIB_MOD_SIMPLE (GH-29690) Automerge-Triggered-By: GH:tiran
2021-11-22bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to ↵Erlend Egeberg Aasland-9/+6
PY_STDLIB_MOD_SIMPLE (GH-29689) Automerge-Triggered-By: GH:tiran
2021-11-22bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE ↵Erlend Egeberg Aasland-6/+4
(GH-29688)
2021-11-21bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685)Christian Heimes-5/+6
2021-11-21bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668)Christian Heimes-20/+7
2021-11-20bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660)Christian Heimes-18/+12
2021-11-20bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644)Christian Heimes-5/+2
2021-11-19bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642)Christian Heimes-46/+12
2021-11-19bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616)Christian Heimes-9/+4
2021-11-19bpo-45774: Autoconfiscate SQLite detection (GH-29507)Erlend Egeberg Aasland-102/+11
Co-authored-by: Christian Heimes <christian@python.org>
2021-11-18bpo-45573: check for ossaudiodev in configure (GH-29614)Christian Heimes-5/+2
2021-11-18bpo-45573: Introduce extension module flags in Makefile (GH-29594)Christian Heimes-94/+78
``configure`` now uses a standardized format to forward state, compiler flags, and linker flags to ``Makefile``, ``setup.py``, and ``Modules/Setup``. ``makesetup`` use the new variables by default if a module line does not contain any compiler or linker flags. ``setup.py`` has a new function ``addext()``. For a module ``egg``, configure adds: * ``MODULE_EGG`` with value yes, missing, disabled, or n/a * ``MODULE_EGG_CFLAGS`` * ``MODULE_EGG_LDFLAGS`` ``Makefile.pre.in`` may also provide ``MODULE_EGG_DEPS`` that lists dependencies such as header files and static libs. Signed-off-by: Christian Heimes <christian@python.org>
2021-11-14bpo-45573: Use Makefile's dependencies in setup.py (GH-29559)Christian Heimes-60/+27
2021-11-14bpo-45800: Move pyexpat build setup into configure (GH-29547)Christian Heimes-52/+86
Settings for :mod:`pyexpat` C extension are now detected by ``configure``. The bundled ``expat`` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org>
2021-11-13bpo-45798: Move _decimal build setup into configure (GH-29541)Christian Heimes-105/+16
Settings for :mod:`decimal` internal C extension are now detected by :program:`configure`. The bundled `libmpdec` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org>
2021-11-10bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467)Christian Heimes-246/+35
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-11-09bpo-45763: Detect compression build deps in configure (GH-29483)Christian Heimes-6/+3
2021-11-09bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457)Christian Heimes-40/+11
2021-11-09bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464)Christian Heimes-38/+3