|
Lines 118-124
operator operator.c # operator.a
Link Here
|
| 118 |
itertools itertoolsmodule.c # Functions creating iterators for efficient looping |
118 |
itertools itertoolsmodule.c # Functions creating iterators for efficient looping |
| 119 |
|
119 |
|
| 120 |
# access to ISO C locale support |
120 |
# access to ISO C locale support |
| 121 |
_locale _localemodule.c # -lintl |
121 |
_locale _localemodule.c -lintl -liconv -lpthread |
| 122 |
|
122 |
|
| 123 |
# Standard I/O baseline |
123 |
# Standard I/O baseline |
| 124 |
_io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c |
124 |
_io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c |
|
Lines 157-226
faulthandler faulthandler.c
Link Here
|
| 157 |
# it, depending on your system -- see the GNU readline instructions. |
157 |
# it, depending on your system -- see the GNU readline instructions. |
| 158 |
# It's okay for this to be a shared library, too. |
158 |
# It's okay for this to be a shared library, too. |
| 159 |
|
159 |
|
| 160 |
#readline readline.c -lreadline -ltermcap |
160 |
readline readline.c -lreadline -lncurses |
| 161 |
|
161 |
|
| 162 |
|
162 |
|
| 163 |
# Modules that should always be present (non UNIX dependent): |
163 |
# Modules that should always be present (non UNIX dependent): |
| 164 |
|
164 |
|
| 165 |
#array arraymodule.c # array objects |
165 |
array arraymodule.c # array objects |
| 166 |
#cmath cmathmodule.c _math.c # -lm # complex math library functions |
166 |
cmath cmathmodule.c _math.c # -lm # complex math library functions |
| 167 |
#math mathmodule.c _math.c # -lm # math library functions, e.g. sin() |
167 |
math mathmodule.c _math.c # -lm # math library functions, e.g. sin() |
| 168 |
#_struct _struct.c # binary structure packing/unpacking |
168 |
_struct _struct.c # binary structure packing/unpacking |
| 169 |
#time timemodule.c # -lm # time operations and variables |
169 |
time timemodule.c # -lm # time operations and variables |
| 170 |
#_weakref _weakref.c # basic weak reference support |
170 |
_weakref _weakref.c # basic weak reference support |
| 171 |
#_testcapi _testcapimodule.c # Python C API test module |
171 |
_testcapi _testcapimodule.c # Python C API test module |
| 172 |
#_random _randommodule.c # Random number generator |
172 |
_random _randommodule.c # Random number generator |
| 173 |
#atexit atexitmodule.c # Register functions to be run at interpreter-shutdown |
173 |
atexit atexitmodule.c # Register functions to be run at interpreter-shutdown |
| 174 |
#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator |
174 |
_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator |
| 175 |
#_pickle _pickle.c # pickle accelerator |
175 |
_pickle _pickle.c # pickle accelerator |
| 176 |
#_datetime _datetimemodule.c # datetime accelerator |
176 |
_datetime _datetimemodule.c # datetime accelerator |
| 177 |
#_bisect _bisectmodule.c # Bisection algorithms |
177 |
_bisect _bisectmodule.c # Bisection algorithms |
| 178 |
#_heapq _heapqmodule.c # Heap queue algorithm |
178 |
_heapq _heapqmodule.c # Heap queue algorithm |
| 179 |
|
179 |
|
| 180 |
#unicodedata unicodedata.c # static Unicode character database |
180 |
unicodedata unicodedata.c # static Unicode character database |
| 181 |
|
181 |
|
| 182 |
|
182 |
|
| 183 |
# Modules with some UNIX dependencies -- on by default: |
183 |
# Modules with some UNIX dependencies -- on by default: |
| 184 |
# (If you have a really backward UNIX, select and socket may not be |
184 |
# (If you have a really backward UNIX, select and socket may not be |
| 185 |
# supported...) |
185 |
# supported...) |
| 186 |
|
186 |
|
| 187 |
#fcntl fcntlmodule.c # fcntl(2) and ioctl(2) |
187 |
fcntl fcntlmodule.c # fcntl(2) and ioctl(2) |
| 188 |
#spwd spwdmodule.c # spwd(3) |
188 |
spwd spwdmodule.c # spwd(3) |
| 189 |
#grp grpmodule.c # grp(3) |
189 |
grp grpmodule.c # grp(3) |
| 190 |
#select selectmodule.c # select(2); not on ancient System V |
190 |
select selectmodule.c # select(2); not on ancient System V |
| 191 |
|
191 |
|
| 192 |
# Memory-mapped files (also works on Win32). |
192 |
# Memory-mapped files (also works on Win32). |
| 193 |
#mmap mmapmodule.c |
193 |
#mmap mmapmodule.c |
| 194 |
|
194 |
|
| 195 |
# CSV file helper |
195 |
# CSV file helper |
| 196 |
#_csv _csv.c |
196 |
_csv _csv.c |
| 197 |
|
197 |
|
| 198 |
# Socket module helper for socket(2) |
198 |
# Socket module helper for socket(2) |
| 199 |
#_socket socketmodule.c |
199 |
_socket socketmodule.c |
| 200 |
|
200 |
|
| 201 |
# Socket module helper for SSL support; you must comment out the other |
201 |
# Socket module helper for SSL support; you must comment out the other |
| 202 |
# socket line above, and possibly edit the SSL variable: |
202 |
# socket line above, and possibly edit the SSL variable: |
| 203 |
#SSL=/usr/local/ssl |
203 |
#SSL=/usr/local/ssl |
| 204 |
#_ssl _ssl.c \ |
204 |
_ssl _ssl.c \ |
| 205 |
# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ |
205 |
-DUSE_SSL \ |
| 206 |
# -L$(SSL)/lib -lssl -lcrypto |
206 |
-lssl -lcrypto -lz |
| 207 |
|
207 |
|
| 208 |
# The crypt module is now disabled by default because it breaks builds |
208 |
# The crypt module is now disabled by default because it breaks builds |
| 209 |
# on many systems (where -lcrypt is needed), e.g. Linux (I believe). |
209 |
# on many systems (where -lcrypt is needed), e.g. Linux (I believe). |
| 210 |
# |
210 |
# |
| 211 |
# First, look at Setup.config; configure may have set this for you. |
211 |
# First, look at Setup.config; configure may have set this for you. |
| 212 |
|
212 |
|
| 213 |
#_crypt _cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems |
213 |
_crypt _cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems |
| 214 |
|
214 |
|
| 215 |
|
215 |
|
| 216 |
# Some more UNIX dependent modules -- off by default, since these |
216 |
# Some more UNIX dependent modules -- off by default, since these |
| 217 |
# are not supported by all UNIX systems: |
217 |
# are not supported by all UNIX systems: |
| 218 |
|
218 |
|
| 219 |
#nis nismodule.c -lnsl # Sun yellow pages -- not everywhere |
219 |
#nis nismodule.c -lnsl # Sun yellow pages -- not everywhere |
| 220 |
#termios termios.c # Steen Lumholt's termios module |
220 |
termios termios.c # Steen Lumholt's termios module |
| 221 |
#resource resource.c # Jeremy Hylton's rlimit interface |
221 |
resource resource.c # Jeremy Hylton's rlimit interface |
| 222 |
|
222 |
|
| 223 |
#_posixsubprocess _posixsubprocess.c # POSIX subprocess module helper |
223 |
_posixsubprocess _posixsubprocess.c # POSIX subprocess module helper |
| 224 |
|
224 |
|
| 225 |
# Multimedia modules -- off by default. |
225 |
# Multimedia modules -- off by default. |
| 226 |
# These don't work for 64-bit platforms!!! |
226 |
# These don't work for 64-bit platforms!!! |
|
Lines 236-249
faulthandler faulthandler.c
Link Here
|
| 236 |
# The _md5 module implements the RSA Data Security, Inc. MD5 |
236 |
# The _md5 module implements the RSA Data Security, Inc. MD5 |
| 237 |
# Message-Digest Algorithm, described in RFC 1321. |
237 |
# Message-Digest Algorithm, described in RFC 1321. |
| 238 |
|
238 |
|
| 239 |
#_md5 md5module.c |
239 |
_md5 md5module.c |
| 240 |
|
240 |
|
| 241 |
|
241 |
|
| 242 |
# The _sha module implements the SHA checksum algorithms. |
242 |
# The _sha module implements the SHA checksum algorithms. |
| 243 |
# (NIST's Secure Hash Algorithms.) |
243 |
# (NIST's Secure Hash Algorithms.) |
| 244 |
#_sha1 sha1module.c |
244 |
_sha1 sha1module.c |
| 245 |
#_sha256 sha256module.c |
245 |
_sha256 sha256module.c |
| 246 |
#_sha512 sha512module.c |
246 |
_sha512 sha512module.c |
| 247 |
|
247 |
|
| 248 |
|
248 |
|
| 249 |
# The _tkinter module. |
249 |
# The _tkinter module. |
|
Lines 290-296
faulthandler faulthandler.c
Link Here
|
| 290 |
# -lX11 |
290 |
# -lX11 |
| 291 |
|
291 |
|
| 292 |
# Lance Ellinghaus's syslog module |
292 |
# Lance Ellinghaus's syslog module |
| 293 |
#syslog syslogmodule.c # syslog daemon interface |
293 |
syslog syslogmodule.c # syslog daemon interface |
| 294 |
|
294 |
|
| 295 |
|
295 |
|
| 296 |
# Curses support, requiring the System V version of curses, often |
296 |
# Curses support, requiring the System V version of curses, often |
|
Lines 299-307
faulthandler faulthandler.c
Link Here
|
| 299 |
# |
299 |
# |
| 300 |
# First, look at Setup.config; configure may have set this for you. |
300 |
# First, look at Setup.config; configure may have set this for you. |
| 301 |
|
301 |
|
| 302 |
#_curses _cursesmodule.c -lcurses -ltermcap |
302 |
_curses _cursesmodule.c -lncurses |
| 303 |
# Wrapper for the panel library that's part of ncurses and SYSV curses. |
303 |
# Wrapper for the panel library that's part of ncurses and SYSV curses. |
| 304 |
#_curses_panel _curses_panel.c -lpanel -lncurses |
304 |
_curses_panel _curses_panel.c -lpanel -lncurses |
| 305 |
|
305 |
|
| 306 |
|
306 |
|
| 307 |
# Modules that provide persistent dictionary-like semantics. You will |
307 |
# Modules that provide persistent dictionary-like semantics. You will |
|
Lines 328-337
faulthandler faulthandler.c
Link Here
|
| 328 |
|
328 |
|
| 329 |
|
329 |
|
| 330 |
# Helper module for various ascii-encoders |
330 |
# Helper module for various ascii-encoders |
| 331 |
#binascii binascii.c |
331 |
binascii binascii.c |
| 332 |
|
332 |
|
| 333 |
# Fred Drake's interface to the Python parser |
333 |
# Fred Drake's interface to the Python parser |
| 334 |
#parser parsermodule.c |
334 |
parser parsermodule.c |
| 335 |
|
335 |
|
| 336 |
|
336 |
|
| 337 |
# Lee Busby's SIGFPE modules. |
337 |
# Lee Busby's SIGFPE modules. |
|
Lines 367-388
faulthandler faulthandler.c
Link Here
|
| 367 |
# |
367 |
# |
| 368 |
# More information on Expat can be found at www.libexpat.org. |
368 |
# More information on Expat can be found at www.libexpat.org. |
| 369 |
# |
369 |
# |
| 370 |
#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI |
370 |
pyexpat pyexpat.c -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI -lexpat |
| 371 |
|
371 |
|
| 372 |
# Hye-Shik Chang's CJKCodecs |
372 |
# Hye-Shik Chang's CJKCodecs |
| 373 |
|
373 |
|
| 374 |
# multibytecodec is required for all the other CJK codec modules |
374 |
# multibytecodec is required for all the other CJK codec modules |
| 375 |
#_multibytecodec cjkcodecs/multibytecodec.c |
375 |
_multibytecodec cjkcodecs/multibytecodec.c |
| 376 |
|
376 |
|
| 377 |
#_codecs_cn cjkcodecs/_codecs_cn.c |
377 |
_codecs_cn cjkcodecs/_codecs_cn.c |
| 378 |
#_codecs_hk cjkcodecs/_codecs_hk.c |
378 |
_codecs_hk cjkcodecs/_codecs_hk.c |
| 379 |
#_codecs_iso2022 cjkcodecs/_codecs_iso2022.c |
379 |
_codecs_iso2022 cjkcodecs/_codecs_iso2022.c |
| 380 |
#_codecs_jp cjkcodecs/_codecs_jp.c |
380 |
_codecs_jp cjkcodecs/_codecs_jp.c |
| 381 |
#_codecs_kr cjkcodecs/_codecs_kr.c |
381 |
_codecs_kr cjkcodecs/_codecs_kr.c |
| 382 |
#_codecs_tw cjkcodecs/_codecs_tw.c |
382 |
_codecs_tw cjkcodecs/_codecs_tw.c |
| 383 |
|
383 |
|
| 384 |
# Example -- included for reference only: |
384 |
# Example -- included for reference only: |
| 385 |
# xx xxmodule.c |
385 |
# xx xxmodule.c |
| 386 |
|
386 |
|
| 387 |
# Another example -- the 'xxsubtype' module shows C-level subtyping in action |
387 |
# Another example -- the 'xxsubtype' module shows C-level subtyping in action |
| 388 |
xxsubtype xxsubtype.c |
388 |
xxsubtype xxsubtype.c |
|
|
389 |
|
| 390 |
_bz2 _bz2module.c -lbz2 |
| 391 |
zlib zlibmodule.c -lz |
| 392 |
posix posixmodule.c |
| 393 |
_io _io/_iomodule.c _io/stringio.c _io/fileio.c _io/textio.c _io/bytesio.c _io/bufferedio.c _io/iobase.c |
| 394 |
_json _json.c |
| 395 |
_lsprof _lsprof.c rotatingtree.c |
| 396 |
_hashlib _hashopenssl.c |
| 397 |
_multiprocessing _multiprocessing/multiprocessing.c |
| 398 |
SQLITE3DEFS=-DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 399 |
SQLITE3MOD=-DMODULE_NAME='"sqlite3"' |
| 400 |
_sqlite3 $(SQLITE3DEFS) $(SQLITE3MOD) _sqlite/cache.c _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c -lsqlite3 -lpthread |
| 401 |
xxlimited xxlimited.c |
| 402 |
_decimal -DANSI -DCONFIG_32 _decimal/_decimal.c _decimal/libmpdec/basearith.c _decimal/libmpdec/constants.c _decimal/libmpdec/context.c _decimal/libmpdec/convolute.c _decimal/libmpdec/crt.c _decimal/libmpdec/difradix2.c _decimal/libmpdec/fnt.c _decimal/libmpdec/fourstep.c _decimal/libmpdec/io.c _decimal/libmpdec/memory.c _decimal/libmpdec/mpdecimal.c _decimal/libmpdec/numbertheory.c _decimal/libmpdec/sixstep.c _decimal/libmpdec/transpose.c -I$(srcdir)/Modules/_decimal/libmpdec |
| 403 |
_lzma _lzmamodule.c -llzma |
| 404 |
_testbuffer _testbuffer.c |