|
11 | 11 | # directory.) |
12 | 12 |
|
13 | 13 | # Each line in this file describes one or more optional modules. |
14 | | -# Modules enabled here will not be compiled by the setup.py script, |
| 14 | +# Modules configured here will not be compiled by the setup.py script, |
15 | 15 | # so the file can be used to override setup.py's behavior. |
| 16 | +# Tag lines containing just the word "*static*", "*shared*" or "*disabled*" |
| 17 | +# (without the quotes but with the stars) are used to tag the following module |
| 18 | +# descriptions. Tag lines may alternate throughout this file. Modules are |
| 19 | +# built statically when they are preceded by a "*static*" tag line or when |
| 20 | +# there is no tag line between the start of the file and the module |
| 21 | +# description. Modules are built as a shared library when they are preceded by |
| 22 | +# a "*shared*" tag line. Modules are not built at all, not by the Makefile, |
| 23 | +# nor by the setup.py script, when they are preceded by a "*disabled*" tag |
| 24 | +# line. |
16 | 25 |
|
17 | 26 | # Lines have the following structure: |
18 | 27 | # |
|
34 | 43 | # |
35 | 44 | # which defines a Make variable definition inserted into Makefile.in |
36 | 45 | # |
37 | | -# Finally, if a line contains just the word "*shared*" (without the |
38 | | -# quotes but with the stars), then the following modules will not be |
39 | | -# built statically. The build process works like this: |
| 46 | +# The build process works like this: |
40 | 47 | # |
41 | 48 | # 1. Build all modules that are declared as static in Modules/Setup, |
42 | 49 | # combine them into libpythonxy.a, combine that into python. |
|
57 | 64 | # toplevel "make install" target.) (For compatibility, |
58 | 65 | # *noconfig* has the same effect as *shared*.) |
59 | 66 | # |
60 | | -# In addition, *static* explicitly declares the following modules to |
61 | | -# be static. Lines containing "*static*" and "*shared*" may thus |
62 | | -# alternate throughout this file. |
63 | | - |
64 | 67 | # NOTE: As a standard policy, as many modules as can be supported by a |
65 | 68 | # platform should be present. The distribution comes with all modules |
66 | 69 | # enabled that are supported by most platforms and don't require you |
@@ -152,7 +155,7 @@ _symtable symtablemodule.c |
152 | 155 |
|
153 | 156 | # Uncommenting the following line tells makesetup that all following |
154 | 157 | # modules are to be built as shared libraries (see above for more |
155 | | -# detail; also note that *static* reverses this effect): |
| 158 | +# detail; also note that *static* or *disabled* cancels this effect): |
156 | 159 |
|
157 | 160 | #*shared* |
158 | 161 |
|
@@ -394,3 +397,11 @@ _symtable symtablemodule.c |
394 | 397 |
|
395 | 398 | # Another example -- the 'xxsubtype' module shows C-level subtyping in action |
396 | 399 | xxsubtype xxsubtype.c |
| 400 | + |
| 401 | +# Uncommenting the following line tells makesetup that all following modules |
| 402 | +# are not built (see above for more detail). |
| 403 | +# |
| 404 | +#*disabled* |
| 405 | +# |
| 406 | +#_sqlite3 _tkinter _curses pyexpat |
| 407 | +#_codecs_jp _codecs_kr _codecs_tw unicodedata |
0 commit comments