summaryrefslogtreecommitdiffstats
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-78630: Drop invalid HP aCC compiler switch -fPIC on HP-UX (#8847)Michael Osipov2022-05-191-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.
* gh-89452: Prefer gdbm-compat over ndbm (#92208)Łukasz Langa2022-05-031-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).
* gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680)Erlend Egeberg Aasland2022-04-151-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>
* Fix some typos in comments (GH-32422)jonasdlindner2022-04-091-1/+1
|
* bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698)Erlend Egeberg Aasland2022-03-311-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`
* bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986)Christian Heimes2022-03-221-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).
* Fix whitespace error in setup.py (GH-31960)Erlend Egeberg Aasland2022-03-171-1/+1
|
* bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929)Victor Stinner2022-01-261-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.
* bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967)Christian Heimes2021-12-081-1/+3
|
* bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969)Christian Heimes2021-12-071-26/+33
|
* bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747)Christian Heimes2021-12-041-33/+26
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45847: Port _multiprocessing to PY_STDLIB_MOD (GH-29768)Erlend Egeberg Aasland2021-11-281-11/+7
|
* bpo-45881: Use CC from env first for cross building (GH-29752)Christian Heimes2021-11-241-10/+9
|
* bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741)Christian Heimes2021-11-241-11/+1
|
* bpo-45847: Port _posixshmem to PY_STDLIB_MOD (GH-29738)Erlend Egeberg Aasland2021-11-241-14/+1
|
* bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720)Christian Heimes2021-11-231-7/+1
|
* bpo-45847: Port _ssl and _hashlib to PY_STDLIB_MOD (GH-29727)Christian Heimes2021-11-231-75/+2
|
* bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725)Christian Heimes2021-11-231-14/+1
|
* bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713)Erlend Egeberg Aasland2021-11-231-4/+2
|
* bpo-45847: Port xxlimited and xxlimited_35 to PY_STDLIB_MOD (GH-29707)Erlend Egeberg Aasland2021-11-221-6/+4
|
* bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706)Christian Heimes2021-11-221-2/+6
|
* bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE ↵Erlend Egeberg Aasland2021-11-221-4/+3
| | | | | (GH-29705) Automerge-Triggered-By: GH:tiran
* bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699)Christian Heimes2021-11-221-43/+1
|
* bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702)Christian Heimes2021-11-221-25/+4
|
* bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703)Erlend Egeberg Aasland2021-11-221-3/+3
|
* bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696)Erlend Egeberg Aasland2021-11-221-6/+1
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-45847: Various PY_STDLIB_MOD cleanups (GH-29697)Christian Heimes2021-11-221-6/+4
|
* bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing ↵Erlend Egeberg Aasland2021-11-221-10/+8
| | | | | to PY_STDLIB_MOD_SIMPLE (GH-29690) Automerge-Triggered-By: GH:tiran
* bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to ↵Erlend Egeberg Aasland2021-11-221-9/+6
| | | | | PY_STDLIB_MOD_SIMPLE (GH-29689) Automerge-Triggered-By: GH:tiran
* bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE ↵Erlend Egeberg Aasland2021-11-221-6/+4
| | | | (GH-29688)
* bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685)Christian Heimes2021-11-211-5/+6
|
* bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668)Christian Heimes2021-11-211-20/+7
|
* bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660)Christian Heimes2021-11-201-18/+12
|
* bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644)Christian Heimes2021-11-201-5/+2
|
* bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642)Christian Heimes2021-11-191-46/+12
|
* bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616)Christian Heimes2021-11-191-9/+4
|
* bpo-45774: Autoconfiscate SQLite detection (GH-29507)Erlend Egeberg Aasland2021-11-191-102/+11
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-45573: check for ossaudiodev in configure (GH-29614)Christian Heimes2021-11-181-5/+2
|
* bpo-45573: Introduce extension module flags in Makefile (GH-29594)Christian Heimes2021-11-181-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>
* bpo-45573: Use Makefile's dependencies in setup.py (GH-29559)Christian Heimes2021-11-141-60/+27
|
* bpo-45800: Move pyexpat build setup into configure (GH-29547)Christian Heimes2021-11-141-53/+87
| | | | | | 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>
* bpo-45798: Move _decimal build setup into configure (GH-29541)Christian Heimes2021-11-131-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>
* bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467)Christian Heimes2021-11-101-246/+35
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45763: Detect compression build deps in configure (GH-29483)Christian Heimes2021-11-091-6/+3
|
* bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457)Christian Heimes2021-11-091-40/+11
|
* bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464)Christian Heimes2021-11-091-38/+3
|
* bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456)Christian Heimes2021-11-081-7/+1
|
* bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434)Christian Heimes2021-11-061-3/+5
|
* bpo-43158: Use configure values for building _uuid extension (GH-29353)Christian Heimes2021-11-021-6/+6
|
* bpo-45548: Some test modules must be built as shared libs (GH-29268)Christian Heimes2021-10-291-6/+11
| | | | | | | | | | | | | Some test cases don't work when test modules are static extensions. Add dependency on Modules/config.c to trigger a rebuild whenever a module build type is changed. ``makesetup`` puts shared extensions into ``Modules/`` directory. Create symlinks from pybuilddir so the extensions can be imported. Note: It is not possible to use the content of pybuilddir.txt as a build target. Makefile evaluates target variables in the first pass. The pybuilddir.txt file does not exist at that point.