Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(21)

Delta Between Two Patch Sets: Modules/Setup.dist

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 9 years, 5 months ago
Right Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/Setup.config.in ('k') | Modules/signalmodule.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # -*- makefile -*- 1 # -*- makefile -*-
2 # The file Setup is used by the makesetup script to construct the files 2 # The file Setup is used by the makesetup script to construct the files
3 # Makefile and config.c, from Makefile.pre and config.c.in, 3 # Makefile and config.c, from Makefile.pre and config.c.in,
4 # respectively. The file Setup itself is initially copied from 4 # respectively. The file Setup itself is initially copied from
5 # Setup.dist; once it exists it will not be overwritten, so you can edit 5 # Setup.dist; once it exists it will not be overwritten, so you can edit
6 # Setup to your heart's content. Note that Makefile.pre is created 6 # Setup to your heart's content. Note that Makefile.pre is created
7 # from Makefile.pre.in by the toplevel configure script. 7 # from Makefile.pre.in by the toplevel configure script.
8 8
9 # (VPATH notes: Setup and Makefile.pre are in the build directory, as 9 # (VPATH notes: Setup and Makefile.pre are in the build directory, as
10 # are Makefile and config.c; the *.in and *.dist files are in the source 10 # are Makefile and config.c; the *.in and *.dist files are in the source
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 # Empty since this is now just the runtime prefix. 84 # Empty since this is now just the runtime prefix.
85 DESTPATH= 85 DESTPATH=
86 86
87 # Site specific path components -- should begin with : if non-empty 87 # Site specific path components -- should begin with : if non-empty
88 SITEPATH= 88 SITEPATH=
89 89
90 # Standard path components for test modules 90 # Standard path components for test modules
91 TESTPATH= 91 TESTPATH=
92 92
93 # Path components for machine- or system-dependent modules and shared libraries 93 # Path components for machine- or system-dependent modules and shared libraries
94 MACHDEPPATH=$(MACHDEP_PATH_SEPARATOR)plat-$(MACHDEP) 94 MACHDEPPATH=:plat-$(MACHDEP)
95 EXTRAMACHDEPPATH= 95 EXTRAMACHDEPPATH=
96 96
97 COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH ) 97 COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH )
98 PYTHONPATH=$(COREPYTHONPATH) 98 PYTHONPATH=$(COREPYTHONPATH)
99 99
100 100
101 # The modules listed here can't be built as shared libraries for 101 # The modules listed here can't be built as shared libraries for
102 # various reasons; therefore they are listed here instead of in the 102 # various reasons; therefore they are listed here instead of in the
103 # normal order. 103 # normal order.
104 104
105 # This only contains the minimal set of modules required to run the 105 # This only contains the minimal set of modules required to run the
106 # setup.py script in the root of the Python source tree. 106 # setup.py script in the root of the Python source tree.
107 107
108 errno errnomodule.c # posix (UNIX) errno values 108 errno errnomodule.c # posix (UNIX) errno values
109 109 #FIXME: setup.py detect this module along with grp and spwd.
110 #FIXME: what about to comment ?
111 #pwd pwdmodule.c» » » # this is needed to find out the user's home dir
112 » » » » # if $HOME is not set
110 _sre _sre.c # Fredrik Lundh's new regular expressions 113 _sre _sre.c # Fredrik Lundh's new regular expressions
111 _codecs _codecsmodule.c # access to the builtin codecs and codec registr y 114 _codecs _codecsmodule.c # access to the builtin codecs and codec registr y
112 _weakref _weakref.c # weak references 115 _weakref _weakref.c # weak references
113 _functools _functoolsmodule.c # Tools for working with functions and callable objects 116 _functools _functoolsmodule.c # Tools for working with functions and callable objects
117 operator operator.c # operator.add() and similar goodies
118 _collections _collectionsmodule.c # Container types
119 itertools itertoolsmodule.c # Functions creating iterators for efficient loop ing
114 120
115 # access to ISO C locale support 121 # access to ISO C locale support
116 _locale _localemodule.c # -lintl 122 _locale _localemodule.c # -lintl
117 123
118 # Standard I/O baseline 124 # Standard I/O baseline
119 _io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesi o.c _io/bufferedio.c _io/textio.c _io/stringio.c 125 _io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesi o.c _io/bufferedio.c _io/textio.c _io/stringio.c
120 126
121 # The zipimport module is always imported at startup. Having it as a 127 # The zipimport module is always imported at startup. Having it as a
122 # builtin module avoids some bootstrapping problems and reduces overhead. 128 # builtin module avoids some bootstrapping problems and reduces overhead.
123 zipimport zipimport.c 129 zipimport zipimport.c
130
131 # faulthandler module
132 faulthandler faulthandler.c
124 133
125 # The rest of the modules listed in this file are all commented out by 134 # The rest of the modules listed in this file are all commented out by
126 # default. Usually they can be detected and built as dynamically 135 # default. Usually they can be detected and built as dynamically
127 # loaded modules by the new setup.py script added in Python 2.1. If 136 # loaded modules by the new setup.py script added in Python 2.1. If
128 # you're on a platform that doesn't support dynamic loading, want to 137 # you're on a platform that doesn't support dynamic loading, want to
129 # compile modules statically into the Python binary, or need to 138 # compile modules statically into the Python binary, or need to
130 # specify some odd set of compiler switches, you can uncomment the 139 # specify some odd set of compiler switches, you can uncomment the
131 # appropriate lines below. 140 # appropriate lines below.
132 141
133 # ====================================================================== 142 # ======================================================================
(...skipping 18 matching lines...) Expand all
152 #readline readline.c -lreadline -ltermcap 161 #readline readline.c -lreadline -ltermcap
153 162
154 163
155 # Modules that should always be present (non UNIX dependent): 164 # Modules that should always be present (non UNIX dependent):
156 165
157 #array arraymodule.c # array objects 166 #array arraymodule.c # array objects
158 #cmath cmathmodule.c _math.c # -lm # complex math library functions 167 #cmath cmathmodule.c _math.c # -lm # complex math library functions
159 #math mathmodule.c _math.c # -lm # math library functions, e.g. sin() 168 #math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
160 #_struct _struct.c # binary structure packing/unpacking 169 #_struct _struct.c # binary structure packing/unpacking
161 #time timemodule.c # -lm # time operations and variables 170 #time timemodule.c # -lm # time operations and variables
162 #operator operator.c # operator.add() and similar goodies
163 #_weakref _weakref.c # basic weak reference support 171 #_weakref _weakref.c # basic weak reference support
164 #_testcapi _testcapimodule.c # Python C API test module 172 #_testcapi _testcapimodule.c # Python C API test module
165 #_random _randommodule.c # Random number generator 173 #_random _randommodule.c # Random number generator
166 #_collections _collectionsmodule.c # Container types
167 #itertools itertoolsmodule.c # Functions creating iterators for efficient loo ping
168 #atexit atexitmodule.c # Register functions to be run at interpreter-shutdo wn 174 #atexit atexitmodule.c # Register functions to be run at interpreter-shutdo wn
169 #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator 175 #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
170 #_pickle _pickle.c # pickle accelerator 176 #_pickle _pickle.c # pickle accelerator
171 #_datetime _datetimemodule.c # datetime accelerator 177 #_datetime _datetimemodule.c # datetime accelerator
172 #_bisect _bisectmodule.c # Bisection algorithms 178 #_bisect _bisectmodule.c # Bisection algorithms
173 #_heapq _heapqmodule.c # Heap queue algorithm 179 #_heapq _heapqmodule.c # Heap queue algorithm
174 180
175 #unicodedata unicodedata.c # static Unicode character database 181 #unicodedata unicodedata.c # static Unicode character database
176 182
177 183
(...skipping 20 matching lines...) Expand all
198 #SSL=/usr/local/ssl 204 #SSL=/usr/local/ssl
199 #_ssl _ssl.c \ 205 #_ssl _ssl.c \
200 # -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ 206 # -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
201 # -L$(SSL)/lib -lssl -lcrypto 207 # -L$(SSL)/lib -lssl -lcrypto
202 208
203 # The crypt module is now disabled by default because it breaks builds 209 # The crypt module is now disabled by default because it breaks builds
204 # on many systems (where -lcrypt is needed), e.g. Linux (I believe). 210 # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
205 # 211 #
206 # First, look at Setup.config; configure may have set this for you. 212 # First, look at Setup.config; configure may have set this for you.
207 213
208 #crypt cryptmodule.c # -lcrypt» # crypt(3); needs -lcrypt on some systems 214 #_crypt _cryptmodule.c # -lcrypt» # crypt(3); needs -lcrypt on some system s
209 215
210 216
211 # Some more UNIX dependent modules -- off by default, since these 217 # Some more UNIX dependent modules -- off by default, since these
212 # are not supported by all UNIX systems: 218 # are not supported by all UNIX systems:
213 219
214 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere 220 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
215 #termios termios.c # Steen Lumholt's termios module 221 #termios termios.c # Steen Lumholt's termios module
216 #resource resource.c # Jeremy Hylton's rlimit interface 222 #resource resource.c # Jeremy Hylton's rlimit interface
217 223
218 #_posixsubprocess _posixsubprocess.c # POSIX subprocess module helper 224 #_posixsubprocess _posixsubprocess.c # POSIX subprocess module helper
219 225
220 # Multimedia modules -- off by default. 226 # Multimedia modules -- off by default.
221 # These don't work for 64-bit platforms!!! 227 # These don't work for 64-bit platforms!!!
222 # #993173 says audioop works on 64-bit platforms, though. 228 # #993173 says audioop works on 64-bit platforms, though.
223 # These represent audio samples or images as strings: 229 # These represent audio samples or images as strings:
224 230
225 #audioop audioop.c # Operations on audio samples 231 #audioop audioop.c # Operations on audio samples
226 232
227 233
228 # Note that the _md5 and _sha modules are normally only built if the 234 # Note that the _md5 and _sha modules are normally only built if the
229 # system does not have the OpenSSL libs containing an optimized version. 235 # system does not have the OpenSSL libs containing an optimized version.
230 236
231 # The _md5 module implements the RSA Data Security, Inc. MD5 237 # The _md5 module implements the RSA Data Security, Inc. MD5
232 # Message-Digest Algorithm, described in RFC 1321. The necessary files 238 # Message-Digest Algorithm, described in RFC 1321.
233 # md5.c and md5.h are included here. 239
234 240 #_md5 md5module.c
235 #_md5 md5module.c md5.c
236 241
237 242
238 # The _sha module implements the SHA checksum algorithms. 243 # The _sha module implements the SHA checksum algorithms.
239 # (NIST's Secure Hash Algorithms.) 244 # (NIST's Secure Hash Algorithms.)
240 #_sha shamodule.c 245 #_sha1 sha1module.c
241 #_sha256 sha256module.c 246 #_sha256 sha256module.c
242 #_sha512 sha512module.c 247 #_sha512 sha512module.c
243 248
244 249
245 # The _tkinter module. 250 # The _tkinter module.
246 # 251 #
247 # The command for _tkinter is long and site specific. Please 252 # The command for _tkinter is long and site specific. Please
248 # uncomment and/or edit those parts as indicated. If you don't have a 253 # uncomment and/or edit those parts as indicated. If you don't have a
249 # specific extension (e.g. Tix or BLT), leave the corresponding line 254 # specific extension (e.g. Tix or BLT), leave the corresponding line
250 # commented out. (Leave the trailing backslashes in! If you 255 # commented out. (Leave the trailing backslashes in! If you
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 # -lGL -lGLU -lXext -lXmu \ 287 # -lGL -lGLU -lXext -lXmu \
283 # *** Uncomment for AIX: 288 # *** Uncomment for AIX:
284 # -lld \ 289 # -lld \
285 # *** Always uncomment this; X11 libraries to link with: 290 # *** Always uncomment this; X11 libraries to link with:
286 # -lX11 291 # -lX11
287 292
288 # Lance Ellinghaus's syslog module 293 # Lance Ellinghaus's syslog module
289 #syslog syslogmodule.c # syslog daemon interface 294 #syslog syslogmodule.c # syslog daemon interface
290 295
291 296
292 # Curses support, requring the System V version of curses, often 297 # Curses support, requiring the System V version of curses, often
293 # provided by the ncurses library. e.g. on Linux, link with -lncurses 298 # provided by the ncurses library. e.g. on Linux, link with -lncurses
294 # instead of -lcurses). 299 # instead of -lcurses).
295 # 300 #
296 # First, look at Setup.config; configure may have set this for you. 301 # First, look at Setup.config; configure may have set this for you.
297 302
298 #_curses _cursesmodule.c -lcurses -ltermcap 303 #_curses _cursesmodule.c -lcurses -ltermcap
299 # Wrapper for the panel library that's part of ncurses and SYSV curses. 304 # Wrapper for the panel library that's part of ncurses and SYSV curses.
300 #_curses_panel _curses_panel.c -lpanel -lncurses 305 #_curses_panel _curses_panel.c -lpanel -lncurses
301 306
302 307
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 #_codecs_iso2022 cjkcodecs/_codecs_iso2022.c 380 #_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
376 #_codecs_jp cjkcodecs/_codecs_jp.c 381 #_codecs_jp cjkcodecs/_codecs_jp.c
377 #_codecs_kr cjkcodecs/_codecs_kr.c 382 #_codecs_kr cjkcodecs/_codecs_kr.c
378 #_codecs_tw cjkcodecs/_codecs_tw.c 383 #_codecs_tw cjkcodecs/_codecs_tw.c
379 384
380 # Example -- included for reference only: 385 # Example -- included for reference only:
381 # xx xxmodule.c 386 # xx xxmodule.c
382 387
383 # Another example -- the 'xxsubtype' module shows C-level subtyping in action 388 # Another example -- the 'xxsubtype' module shows C-level subtyping in action
384 xxsubtype xxsubtype.c 389 xxsubtype xxsubtype.c
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+