Georg Brandl
86def6cb2b
Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r60151 | christian.heimes | 2008-01-21 14:11:15 +0100 (Mon, 21 Jan 2008) | 1 line
A bunch of header files were not listed as dependencies for object files. Changes to files like Parser/parser.h weren't picked up by make.
........
r60152 | georg.brandl | 2008-01-21 15:16:46 +0100 (Mon, 21 Jan 2008) | 3 lines
#1087741 : make mmap.mmap the type of mmap objects, not a
factory function. Allow it to be subclassed.
........
r60153 | georg.brandl | 2008-01-21 15:18:14 +0100 (Mon, 21 Jan 2008) | 2 lines
mmap is an extension module.
........
r60154 | georg.brandl | 2008-01-21 17:28:13 +0100 (Mon, 21 Jan 2008) | 2 lines
Fix example.
........
r60155 | georg.brandl | 2008-01-21 17:34:07 +0100 (Mon, 21 Jan 2008) | 2 lines
#1555501 : document plistlib and move it to the general library.
........
r60156 | georg.brandl | 2008-01-21 17:36:00 +0100 (Mon, 21 Jan 2008) | 2 lines
Add a stub for bundlebuilder documentation.
........
r60157 | georg.brandl | 2008-01-21 17:46:58 +0100 (Mon, 21 Jan 2008) | 2 lines
Removing bundlebuilder docs again -- it's not to be used anymore (see #779825 ).
........
r60158 | georg.brandl | 2008-01-21 17:51:51 +0100 (Mon, 21 Jan 2008) | 2 lines
#997912 : acknowledge nested scopes in tutorial.
........
r60159 | vinay.sajip | 2008-01-21 18:02:26 +0100 (Mon, 21 Jan 2008) | 1 line
Fix : #1836 : Off-by-one bug in TimedRotatingFileHandler rollover calculation. Patch thanks to Kathryn M. Kowalski.
........
r60161 | georg.brandl | 2008-01-21 18:13:03 +0100 (Mon, 21 Jan 2008) | 2 lines
Adapt pydoc to new doc URLs.
........
r60162 | georg.brandl | 2008-01-21 18:17:00 +0100 (Mon, 21 Jan 2008) | 2 lines
Fix old link.
........
r60163 | georg.brandl | 2008-01-21 18:22:06 +0100 (Mon, 21 Jan 2008) | 2 lines
#1726198 : replace while 1: fp.readline() with file iteration.
........
r60164 | georg.brandl | 2008-01-21 18:29:23 +0100 (Mon, 21 Jan 2008) | 2 lines
Clarify $ behavior in re docstring. #1631394 .
........
r60165 | vinay.sajip | 2008-01-21 18:39:22 +0100 (Mon, 21 Jan 2008) | 1 line
Minor documentation change - hyperlink tidied up.
........
r60166 | georg.brandl | 2008-01-21 18:42:40 +0100 (Mon, 21 Jan 2008) | 2 lines
#1530959 : change distutils build dir for --with-pydebug python builds.
........
r60167 | vinay.sajip | 2008-01-21 19:16:05 +0100 (Mon, 21 Jan 2008) | 1 line
Updated to include news on recent logging fixes and documentation changes.
........
r60168 | georg.brandl | 2008-01-21 19:35:49 +0100 (Mon, 21 Jan 2008) | 3 lines
Issue #1882 : when compiling code from a string, encoding cookies in the
second line of code were not always recognized correctly.
........
r60170 | georg.brandl | 2008-01-21 19:36:51 +0100 (Mon, 21 Jan 2008) | 2 lines
Add NEWS entry for #1882 .
........
r60172 | georg.brandl | 2008-01-21 19:41:24 +0100 (Mon, 21 Jan 2008) | 2 lines
Use original location of document, which has translations.
........
r60173 | walter.doerwald | 2008-01-21 21:18:04 +0100 (Mon, 21 Jan 2008) | 2 lines
Follow PEP 8 in module docstring.
........
r60175 | georg.brandl | 2008-01-21 21:20:53 +0100 (Mon, 21 Jan 2008) | 2 lines
Adapt to latest doctools refactoring.
........
2008-01-21 20:36:10 +00:00
Collin Winter
5b7e9d76f3
General cleanup, raise normalization in Lib/distutils.
2007-08-30 03:52:21 +00:00
Martin v. Löwis
5a6601cfc6
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
2004-11-10 22:23:15 +00:00
Martin v. Löwis
9f5c0c41ce
Patch #736857 , #736859 : Add -e option to build_scripts.
2004-08-25 11:37:43 +00:00
Andrew M. Kuchling
d448f66317
Add comment to Distutil files about requiring 1.5.2 compatibility, as
...
suggested by PEP 291.
2002-11-19 13:12:28 +00:00
Andrew M. Kuchling
a6483d2e9a
Remove 'created by' lines; people can use CVS for this, and the information is often out of date
2002-11-14 02:25:42 +00:00
Michael W. Hudson
49bdaede1b
Fix for
...
[ #477371 ] build_scripts can use wrong #! line
scripts now get "built" into a directory
build/scripts-$(PYTHON_VERSION)/
2001-12-10 15:28:30 +00:00
Greg Ward
fa9ff76aae
Untabified.
2000-10-14 04:06:40 +00:00
Greg Ward
cb1f4c4d33
Standardized whitespace around function calls.
2000-09-30 18:27:54 +00:00
Greg Ward
64d855adca
Changed to use the 'sub-commands' machinery:
...
- added 'sub_commands' class attr
- added 'has_*()' predicates referenced by the sub-command list
- rewrote 'run()' so it's a trivial loop over relevant sub-commands
2000-09-30 17:08:12 +00:00
Greg Ward
99b032eaf2
Added 'boolean_options' list to support config file parsing.
2000-09-25 01:41:15 +00:00
Greg Ward
53db8154e6
Tweaked the build temp dir names again.
2000-09-16 02:06:45 +00:00
Greg Ward
42900941b8
Include the Python version in the platform-specific build directories:
...
with the recent change in 'get_platform()', we now have directory names
like "build/lib-1.5-linux-i586". Idea and original patch by
Rene Liebscher.
2000-09-16 01:54:46 +00:00
Greg Ward
3459381e2a
Changed so all the help-generating functions are defined, at module-level,
...
in the module of the command classes that have command-specific
help options. This lets us keep the principle of lazily importing
the ccompiler module, and also gets away from defining non-methods
at class level.
2000-06-24 01:23:37 +00:00
Greg Ward
2ff7887270
Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch.
2000-06-24 00:23:20 +00:00
Greg Ward
9d17a7ad6d
Patch from Rene Liebscher: this adds "--help-foo" options to list the
...
values that "--foo" can take for various commands: eg. what formats for
"sdist" and "bdist", what compilers for "build_ext" and "build_clib".
I have *not* reviewed this patch; I'm checking it in as-is because it also
fixes a paper-bag-over-head bug in bdist.py, and because I won't have
time to review it properly for several days: so someone else can
test it for me, instead!
2000-06-07 03:00:06 +00:00
Greg Ward
4fb29e55f8
Some far-reaching naming changes:
...
* Command method 'find_peer()' -> 'get_finalized_command()'
* Command method 'run_peer()' -> 'run_command()'
Also deleted the 'get_command_option()' method from Command, and
fixed the one place where it was used (in "bdist_dumb").
2000-05-27 17:27:23 +00:00
Greg Ward
e3d17526b2
Use Distribution's 'has_scripts()' method instead of directly accessing
...
its 'scripts' attribute.
2000-05-25 01:21:54 +00:00
Greg Ward
8d5881a2ba
Bastian Kleineidam: the "build_scripts" command and changes
...
necessary to support it.
Details:
- build command additionally calls build_scripts
- build_scripts builds your scripts in 'build/scripts' and adjusts the
first line if it begins with "#!" and ends with "python", optionally
ending with commandline options (like -O, -t ...). Adjusting means we
write the current path to the Python interpreter in the first line.
- install_scripts copies the scripts to the install_scripts dir
- install_data copies your data_files in install_data. You can
supply individual directories for your data_files:
data_files = ['doc/info.txt', # copy this file in install_scripts dir
('testdata', ['a.dat', 'b.dat']), # copy these files in
# install_scripts/testdata
('/etc', ['packagerc']), # copy this in /etc. When --root is
# given, copy this in rootdir/etc
]
So you can use the --root option with absolute data paths.
2000-05-25 01:19:18 +00:00
Greg Ward
fcd974efbb
Normalized all the end-of-class lines.
2000-05-25 01:10:04 +00:00
Gregory P. Smith
9668b78b9f
Fix from Lyle Johnson: add the '--compiler' option.
2000-05-12 00:33:14 +00:00
Greg Ward
7aff6f34fe
Delete some debugging print statements.
2000-04-10 01:31:58 +00:00
Greg Ward
c41d6b35a9
Added '--force' option -- very clear what it means for building (ignore
...
timestamps), so every build_* command has 'self.force', which follows the
'build' command if not set by the user.
2000-04-10 00:19:42 +00:00
Greg Ward
ae45b16157
Use the new 'has_pure_modules()', 'has_ext_modules()', 'has_c_libraries()'
...
methods of Distribution instead of grovelling directly in self.distribution.
2000-03-29 02:14:21 +00:00
Greg Ward
76ec0d6d76
Renamed 'build_lib' command to 'build_clib':
...
* replaced build_lib.py with build_clib.py
* renamed the class in build_clib.py
* changed all references to 'build_lib' command in other command classes
2000-03-02 01:57:12 +00:00
Greg Ward
3ce77fd05e
Changed '__rcsid__' to '__revision__'.
2000-03-02 01:49:45 +00:00
Greg Ward
42a3bf564a
Build reorg:
...
* 'build_lib' -> 'build_purelib'
* new 'build_lib' and 'build_temp' options
* use 'get_platform()' to initialize 'build_platlib' and 'build_temp'
2000-03-01 01:26:45 +00:00
Greg Ward
e01149cbe8
Renamed 'set_default_options()' to 'initialize_options()', and
...
'set_final_options()' to 'finalize_options()'.
2000-02-18 00:35:22 +00:00
Greg Ward
bbeceeaf9a
Renamed all 'options' class attributes to 'user_options'.
2000-02-18 00:25:39 +00:00
Greg Ward
1993f9ad0e
Renamed all command classes so they're exactly the same as the name of the
...
command itself: no more of this "FooBar class for foo_bar command"
silliness.
2000-02-18 00:13:53 +00:00
Greg Ward
324620015d
Added 'debug' option (just there for 'build_ext' and 'build_lib' commands
...
to fallback to if the user doesn't set it for those commands.
2000-02-09 02:19:49 +00:00
Greg Ward
5f7c18e816
Run the 'build_lib' command before building extensions, if necessary.
2000-02-05 02:24:16 +00:00
Greg Ward
37bc815053
Added 'description' class attribute to every command class (to help the
...
'--help-commands' option).
Shuffled imports around in a few command modules to avoid expensive
up-front import of sysconfig (and resulting delays in generating list
of all commands).
2000-01-30 18:34:15 +00:00
Greg Ward
e6ac2fcc12
Renamed many options to be consistent across commands.
...
Tweaked some help strings to be consistent with documentation.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
guaranteed to be taken care of for us by the Distribution instance.
1999-09-29 12:38:18 +00:00
Greg Ward
02e1c56212
Only run build_py if we have pure Python modules, and build_ext if we
...
have extension modules.
1999-09-21 18:27:55 +00:00
Greg Ward
36e68e21b4
Now run 'build_ext'.
...
Default platform-specific build directory changed to 'build/platlib'.
1999-09-13 13:52:12 +00:00
Greg Ward
0f72695da3
Rearranged things so that compilation of .py files is the responsibility
...
of the 'install_py' command rather than 'build_py'. Obviously, this
meant that the 'build_py' and 'install_py' modules had to change; less
obviously, so did 'install' and 'build', since these higher-level
commands must make options available to control the lower-level
commands, and some compilation-related options had to migrate with the
code.
1999-05-02 21:39:13 +00:00
Greg Ward
13ae1c8ff8
First checkin of real Distutils command modules.
1999-03-22 14:55:25 +00:00