• Home
  • Raw
  • Download

Lines Matching +full:ncurses +full:- +full:devel

36     # bpo-41282 (PEP 632) deprecated distutils but setup.py still uses it
63 # --list-module-names option used by Tools/scripts/generate_module_names.py
95 Python is an interpreted, interactive, object-oriented programming
102 Mac, MFC). New built-in modules are easily written in C or C++. Python
109 it. Ask around on comp.lang.python -- or just try compiling Python
114 Development Status :: 6 - Mature
130 # See bpo-21121 and bpo-35257
154 """Get the paths of sysroot sub-directories.
166 m = re.search(r'--sysroot=([^"]\S*|"[^"]+")', var)
190 The SDK paths used by Apple-supplied tool chains depend on the
201 m = re.search(r'-isysroot\s*(\S+)', cflags)
217 --enable-universalsdk=(something other than no or /) or by adding a
218 -isysroot option to CFLAGS. In some cases, like when making
254 and returns a possibly-empty list of additional directories, or None
381 if '-j' in os.environ.get('MAKEFLAGS', ''):
426 # re-compile extensions if a header file has been changed
517 print("%-*s %-*s %-*s" % (longest, e, longest, f,
576 print("Custom linker flags may require --with-openssl-rpath=auto")
605 # Workaround for Mac OS X: The Carbon-based modules cannot be
606 # reliably imported into a command-line Python
609 'WARNING: skipping import check for Carbon-based "%s"' %
614 sys.maxsize > 2**32 and '-arch' in ext.extra_link_args):
616 # build with an explicit '-arch' flag on OSX. That's currently
617 # only used to build 32-bit only extensions in a 4-way
618 # universal build and loading 32-bit code into a 64-bit
628 self.announce('WARNING: skipping import check for Cygwin-based "%s"'
674 '%s -print-multiarch > %s 2> /dev/null' % (CC, tmpfile))
690 if not find_executable('dpkg-architecture'):
694 opt = '-t' + sysconfig.get_config_var('HOST_GNU_TYPE')
699 'dpkg-architecture %s -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
713 # add library search path by wr-cc, the compiler wrapper
739 ret = run_command('%s --print-search-dirs >%s' % (CC, tmpfile))
760 ret = run_command('%s -E -v - </dev/null 2>%s 1>/dev/null' % (CC, tmpfile))
799 ('LDFLAGS', '-R', self.compiler.runtime_library_dirs),
800 ('LDFLAGS', '-L', self.compiler.library_dirs),
801 ('CPPFLAGS', '-I', self.compiler.include_dirs)):
813 # strip out double-dashes first so that we don't end up with
814 # substituting "--Long" to "-Long" and thus lead to "ong" being
816 env_val = re.sub(r'(^|\s+)-(-|(?!%s))' % arg_name[1],
853 # be assumed that no additional -I,-L directives are needed.
871 # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
875 # HP-UX11iv3 keeps files in lib/hpux folders.
876 if HOST_PLATFORM == 'hp-ux11':
880 # This should work on any unixy platform ;-)
881 # If the user has bothered specifying additional -I and -L flags
890 if item.startswith('-I'):
894 if item.startswith('-L'):
905 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
914 extra_compile_args=['-DPy_BUILD_CORE_MODULE'],
921 extra_compile_args=['-DPy_BUILD_CORE_MODULE'],
939 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
942 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
945 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
950 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
951 # C-optimized pickle replacement
953 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
956 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
963 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
968 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
971 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
974 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
978 # Modules with some UNIX dependencies -- on by default:
1006 # Memory-mapped files (also works on Win32).
1013 # Python interface to subinterpreter C-API.
1018 # libraries, are platform-specific, or present other surprises.
1022 # These don't work for 64-bit platforms!!!
1027 # 64-bit platforms.
1038 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
1047 extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
1049 # Python PEP-3118 (buffer protocol) test module
1055 # Test multi-phase extension module init (PEP 489)
1080 ret = run_command("%s -d %s | grep '(NEEDED)' > %s"
1095 # termcap interface split out from ncurses
1109 # Issue 36210: OSS provided ncurses does not link on AIX
1113 elif self.compiler.find_library_file(self.lib_dirs, 'ncurses'):
1114 curses_library = 'ncurses'
1138 readline_extra_link_args = ('-Wl,-search_paths_first',)
1159 # provided by the ncurses library.
1172 # libpanelw. If we are here, we found a locally-supplied
1176 # ncurses wide char support
1178 elif MACOS and curses_library == 'ncurses':
1179 # Building with the system-suppied combined libncurses/libpanel
1184 if curses_library.startswith('ncurses'):
1187 extra_compile_args=['-DPy_BUILD_CORE_MODULE'],
1202 extra_compile_args=['-DPy_BUILD_CORE_MODULE'],
1210 # _curses_panel needs some form of ncurses
1224 # bpo-31904: crypt() function is not provided by VxWorks.
1242 kwargs['extra_compile_args'] = ['-D__APPLE_USE_RFC_3542']
1247 # Modules that provide persistent dictionary-like semantics. You will
1307 db_inc_paths.append('/pkg/db-4.%d/include' % x)
1308 db_inc_paths.append('/opt/db-4.%d/include' % x)
1316 db_inc_paths.append('/pkg/db-3.%d/include' % x)
1317 db_inc_paths.append('/opt/db-3.%d/include' % x)
1324 # picked up when it is installed in a non-standard prefix and
1419 # Look for a version specific db-X.Y before an ambiguous dbX
1420 # XXX should we -ever- look for a dbX name? Do any
1423 for dblib in (('db-%d.%d' % db_ver),
1461 if arg.startswith('--with-dbmliborder=')]
1463 dbm_order = [arg.split('=')[-1] for arg in dbm_args][-1].split(":")
1470 # Some systems have -lndbm, others have -lgdbm_compat,
1503 if find_file("gdbm-ndbm.h", self.inc_dirs, []) is not None:
1530 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
1617 # if --enable-loadable-sqlite-extensions configure option is used.
1618 if '--enable-loadable-sqlite-extensions' not in sysconfig.get_config_var("CONFIG_ARGS"):
1629 sqlite_extra_link_args = ('-Wl,-search_paths_first',)
1652 # Unix-only modules
1662 # Platform-specific libraries
1671 '-framework', 'SystemConfiguration',
1672 '-framework', 'CoreFoundation']))
1676 # 1.1.3 have security problems. See CERT Advisory CA-2002-07:
1677 # http://www.cert.org/advisories/CA-2002-07.html
1706 zlib_extra_link_args = ('-Wl,-search_paths_first',)
1720 # Helper module for various ascii-encoders. Uses zlib for an optimized
1723 extra_compile_args = ['-DUSE_ZLIB_CRC32']
1738 bz2_extra_link_args = ('-Wl,-search_paths_first',)
1761 # of a system shared libexpat.so is possible with --with-system-expat
1766 if '--with-system-expat' in sysconfig.get_config_var("CONFIG_ARGS"):
1777 # bpo-30947: Python uses best available entropy sources to
1782 # bpo-44394: libexpat uses isnan() of math.h and needs linkage
1803 '"%s" -Werror -Wno-unreachable-code -E -xc /dev/null >/dev/null 2>&1' % cc)
1805 extra_compile_args.append('-Wno-unreachable-code')
1831 # Hye-Shik Chang's CJKCodecs modules.
1918 # - Automatically, at configuration time, by using pkg-config.
1920 # Additional pkg-config configuration paths can be set via the
1925 # - Explicitly, at configuration time by setting both
1926 # --with-tcltk-includes and --with-tcltk-libs.
1929 # --with-tcltk-includes="-I/path/to/tclincludes \
1930 # -I/path/to/tkincludes"
1931 # --with-tcltk-libs="-L/path/to/tcllibs -ltclm.n \
1932 # -L/path/to/tklibs -ltkm.n"
1934 # - Explicitly, at compile time, by passing TCLTK_INCLUDES and
1936 # This will override any configuration-time option.
1967 # Apple-supplied compiler chain's -framework options here.
1974 # 1. Build and link with system-wide third-party or user-built
1976 # 2. Build and link using a user-specified macOS SDK so that the
1982 # or detect_tkinter(). The former handles non-standard locations of
1997 # Apple-supplied Tcl and Tk frameworks in /System/Library but
1999 # out-of-date and buggy; their use should be avoided if at
2017 # Search the local system-wide /Library/Frameworks,
2049 compile_args = ['-F', F]
2053 archs = re.findall(r'-arch\s+(\w+)', cflags)
2065 a = ln.split()[-1]
2067 detected_archs.append(ln.split()[-1])
2072 arch_args.append('-arch')
2076 … link_args = [','.join(['-Wl', '-F', F, '-framework', 'Tcl', '-framework', 'Tk']), *arch_args]
2081 if '-Wstrict-prototypes' in cflags.split():
2082 compile_args.append('-Wno-strict-prototypes')
2096 # - Through environment variables.
2097 # - Platform specific detection of Tcl/Tk (currently only macOS).
2098 # - Search of various standard Unix header/library paths.
2109 # Darwin - either AquaTk, if it is found, or X11 based Tk.
2135 dotversion = dotversion[:-1] + '.' + dotversion[-1]
2160 # Check for various platform-specific directories
2202 # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
2204 # -DWITH_TOGL togl.c \
2206 # -lGL -lGLU -lXext -lXmu \
2224 self.use_system_libffi = '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS")
2227 extra_compile_args = ['-DPy_BUILD_CORE_MODULE']
2238 extra_compile_args.append('-DUSING_MALLOC_CLOSURE_DOT_C=1')
2239 extra_compile_args.append('-DMACOSX')
2244 # of the assembler code is non-PIC (i.e. it has relocations
2250 # finding some -z option for the Sun compiler.
2251 extra_link_args.append('-mimpure-text')
2253 elif HOST_PLATFORM.startswith('hp-ux'):
2254 extra_link_args.append('-fPIC')
2279 ext.extra_compile_args.append("-DUSING_APPLE_OS_LIBFFI=1")
2305 ext.extra_compile_args.append("-DHAVE_FFI_PREP_CIF_VAR=1")
2307 ext.extra_compile_args.append("-DHAVE_FFI_PREP_CLOSURE_LOC=1")
2309 ext.extra_compile_args.append("-DHAVE_FFI_CLOSURE_ALLOC=1")
2316 # for dlopen, see bpo-32647
2323 if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
2377 'ansi-legacy': [('CONFIG_32','1'), ('ANSI','1'),
2407 extra_compile_args.append('-Wno-unknown-pragmas')
2417 # https://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
2418 extra_compile_args.append('-fno-ipa-pure-const')
2421 # https://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
2444 # This trick works because ax_check_openssl uses --libs-only-L,
2445 # --libs-only-l, and --cflags-only-I.
2450 openssl_includes = split_var('OPENSSL_INCLUDES', '-I')
2451 openssl_libdirs = split_var('OPENSSL_LDFLAGS', '-L')
2452 openssl_libs = split_var('OPENSSL_LIBS', '-l')
2482 # Requires static OpenSSL build with position-independent code. Some
2489 extra_linker_args.append(f"-l:lib{lib}.a")
2491 extra_linker_args.append(f"-Wl,--exclude-libs,lib{lib}.a")
2523 # (40-50 KiB per module, only loaded when actually used). Modules can
2524 # be disabled via the --with-builtin-hashlib-hashes configure flag.
2540 extra_compile_args=['-DPy_BUILD_CORE_MODULE'],
2547 extra_compile_args=['-DPy_BUILD_CORE_MODULE'],
2598 # bpo-32521: glibc has deprecated Sun RPC for some time. Fedora 28
2619 # libnsl-devel: check for libnsl in nsl/ subdirectory
2643 # Customize subcommands to not install an egg-info file for Python
2686 fullversion = '-{0[0]}.{0[1]}'.format(sys.version_info)
2706 if "--list-module-names" in sys.argv:
2708 sys.argv.remove("--list-module-names")
2728 maintainer_email = "python-dev@python.org",
2729 description = "A high-level object-oriented programming language",
2743 extra_compile_args=['-DPy_BUILD_CORE_MODULE'])],
2752 # --install-platlib