Gregory P. Smith
c008488981
Typo fix.
2000-05-13 02:20:43 +00:00
Gregory P. Smith
0ec8ef1601
Made the '--record' option take an argument, which is the name of the
...
file to write the list of installed files to.
2000-05-13 02:16:45 +00:00
Gregory P. Smith
7e855ef6ad
Ditch the explicit search for *.py[co] files -- they're now included in
...
the list returned by 'get_outputs()', thanks to changes in the
"install_lib" command.
2000-05-13 02:13:53 +00:00
Gregory P. Smith
11fb783fa4
Added '_bytecode_filenames()' method, and use it in 'get_outputs()'
...
to ensure that compiled bytecode files are considered part of the output
of the "install_lib" command.
2000-05-13 02:11:10 +00:00
Gregory P. Smith
f9ebf98725
Moved check for installation to non-sys.path location so it comes
...
last (after writing list of installed files) -- that way, the warning
is more visible.
2000-05-13 02:01:22 +00:00
Gregory P. Smith
8cb676195b
Harry Henry Gebel: add the "--record" option to write the list of
...
installed files to INSTALLED_FILES.
2000-05-13 01:58:19 +00:00
Gregory P. Smith
a190268bf6
Added the 'build_bdist' option and code to clean it up -- this is the
...
top-level temporary directory for creating built distributions. (Won't
work yet, since the "build" command doesn't yet have a 'build_bdist'
option, and none of the "bdist" commands support it yet.)
2000-05-13 01:56:55 +00:00
Gregory P. Smith
b5ebe5d640
Harry Henry Gebel: get extra compiler flags from the CFLAGS environment
...
variable.
(Is this really needed? Can we drop it when the config file mechanism
allows users to set compiler flags in setup.cfg?)
2000-05-13 01:52:14 +00:00
Gregory P. Smith
52e399c904
Harry Henry Gebel: add support for the 'bdist_rpm' command, specifically
...
the 'no_format_option' class attribute.
2000-05-13 01:49:56 +00:00
Gregory P. Smith
d5b53df18c
Harry Henry Gebel: add 'bdist_rpm' command.
2000-05-13 01:48:15 +00:00
Gregory P. Smith
de5c953a2b
From Lyle Johnson: renamed 'implib_dir' to 'implib_file', and
...
correctly ensure that it's 'dirname' exists.
2000-05-13 01:35:33 +00:00
Jack Jansen
8f7f91fa2a
(Temporarily) revived after a long sleep, for building MacPython without GUSI
2000-05-12 21:37:45 +00:00
Jack Jansen
7bfc2ebb01
Fixed to work again without USE_GUSI and with USE_MSL_MALLOC
2000-05-12 21:37:10 +00:00
Jack Jansen
12e89e42d8
Fixed to work again without USE_GUSI
2000-05-12 21:36:29 +00:00
Jack Jansen
48b486b054
Added unicodedata and _codecs modules (which had apparently slipped through until now).
2000-05-12 21:36:06 +00:00
Jack Jansen
092580baa9
First tiny steps towards Carbon: this project currently builds a PythonStandSmall without GUSI and with standard MSL malloc. Socket and select are the main victims of this.
2000-05-12 21:29:58 +00:00
Guido van Rossum
98b0404a0e
Removing thread.h -- it has been obsolete for quite a while.
2000-05-12 14:21:10 +00:00
Gregory P. Smith
6fafca4e1d
Added comment/docstring/revision header.
2000-05-12 01:58:29 +00:00
Gregory P. Smith
17f641c143
Fixed 'select_scheme()' so it doesn't override a directory attribute that's
...
already been set (eg. by a command-line option).
2000-05-12 01:54:50 +00:00
Gregory P. Smith
74ead8ff5d
Added --skip-build option, so lazy debuggers/testers (mainly me) don't
...
have to wade through all the 'build' output when testing installation.
2000-05-12 01:46:47 +00:00
Gregory P. Smith
f8f2b98bdd
Caught up with renaming in 'install_misc' base class.
2000-05-12 01:34:33 +00:00
Gregory P. Smith
ae988a57d2
Deleted some cruft.
...
Caught up with renaming in 'install_misc' base class.
Changed 'run()' to chmod installed scripts under Unix.
2000-05-12 01:32:30 +00:00
Gregory P. Smith
ce2b6b838f
In 'install_misc' class:
...
- renamed '_copydata()' to 'copy_files()'
- changed it to record complete output filenames
- dropped '_outputdata()' in favour of much simpler 'get_outputs()'
2000-05-12 01:31:37 +00:00
Gregory P. Smith
147e5f3c65
Doc patch from Bastein Kleineidam: start to describe the 'install' command
...
family, including the new 'install_scripts' and 'install_data' commands.
2000-05-12 00:58:18 +00:00
Gregory P. Smith
b2e3bb3d6a
Patch from Bastien Kleineidam:
...
adds the 'install_data' and 'install_scripts' commands; these two
are trivial thanks to the 'install_misc' base class in cmd.py.
(Minor tweaks and commentary by me; the code is untested so far.)
2000-05-12 00:52:23 +00:00
Gregory P. Smith
bb8c71d563
Call 'parse_config_files()' at the appropriate point.
...
Tweaked error-generating code.
2000-05-12 00:42:19 +00:00
Gregory P. Smith
1426354cf6
Preliminary support for config files:
...
- added 'find_config_files()' and 'parse_config_files()' methods
- added 'command_options' attribute
Comment/docstring updates.
2000-05-12 00:41:33 +00:00
Gregory P. Smith
e7e35ac1c2
Made 'check_environ()' "public" by stripping the leading underscore;
...
added a global '_environ_checked' so we know if it's already been
called.
2000-05-12 00:40:00 +00:00
Gregory P. Smith
6cd0c43366
Fix from Lyle Johnson: add the '--compiler' option.
...
Also added creation of 'implib_dir', a temporary directory specific to
MSVC++ -- but I checked in two ways of fixing it (Lyle's and mine),
because I'm not sure which is right.
2000-05-12 00:34:12 +00:00
Gregory P. Smith
9668b78b9f
Fix from Lyle Johnson: add the '--compiler' option.
2000-05-12 00:33:14 +00:00
Guido van Rossum
c9a5f343bc
The addition of rint() (by Peter Schneider-Kamp; I forgot to mention
...
that before) in the previous patch has one problem; rint() is not in
the C math library on all platforms (e.g. not for VC++). Make it
conditional on HAVE_RINT.
2000-05-11 18:42:27 +00:00
Guido van Rossum
a28518a6a6
Add check for rint() in math library.
2000-05-11 18:41:32 +00:00
Guido van Rossum
99f235d5e7
Remove stdwin references
2000-05-11 18:29:05 +00:00
Guido van Rossum
6a1b1338de
Removing junk
2000-05-11 18:28:03 +00:00
Guido van Rossum
81b4e41cd9
removing more stdwin users
2000-05-11 18:27:21 +00:00
Guido van Rossum
9ab06ee7b2
Added a few new names...
2000-05-11 18:20:30 +00:00
Guido van Rossum
71260b846e
Added math.rint() -- round according to current IEEE754 mode
2000-05-11 18:19:42 +00:00
Guido van Rossum
dab6cb8f6d
removing more stdwin users
2000-05-11 14:43:52 +00:00
Guido van Rossum
ede8c6eea1
Bill Tutt:
...
Calling Sleep(0) for a spinlock can cause a priority inversion, adding
comments to explain what's going on.
2000-05-11 12:53:51 +00:00
Fred Drake
65e69002a2
Oops, better also note that the module initialization function must be
...
extern "C" for C++.
2000-05-10 20:36:34 +00:00
Fred Drake
2d54523551
Section "The Module's Method Table and Initialization Function":
...
Explain that the name of the initialization function must be
init<module>(). Omission noted by Daniel Kozan
<crum@dev-group.com>.
2000-05-10 20:33:18 +00:00
Guido van Rossum
cf3ba65749
At Bob Kahn's request, add CNRI to the copyright string (but not to
...
the notice yet).
2000-05-10 20:06:00 +00:00
Fred Drake
6cd948ebd8
Rename the "browser" module to "BrowserControl", since Guido did not
...
like the short, ambiguous name.
2000-05-10 17:28:42 +00:00
Fred Drake
8638ace511
EditorWindow.python_docs():
...
Instead of using Netscape through os.system(), use the new
browser.open() function to load the documentation on the
default browser. On Windows, this will use the installed
documentation if it exists, instead of hitting python.org.
2000-05-10 16:50:07 +00:00
Fred Drake
95a40001e6
Collection of classes and convenience functions to control external
...
Web browsers.
2000-05-10 16:47:27 +00:00
Jack Jansen
9cfce18c4f
GUSI 2.0.5 has a non-functional getsockname() if you use Open Transport. For now the workaround is to only enable MacTCP sockets.
2000-05-10 15:15:54 +00:00
Guido van Rossum
da5cc82d59
Trent Mick:
...
Use "win32" for sys.platform on Win64 instead of "win32" because:
1. While it may be confusing to the Python scriptor on Win64 that he has to
check for win*32*, that is something that he will learn the first time. It
is better than the alternative of the scriptor happily using "win64" and
then that code not running on Win32 for no good reason.
2. The main question is: is Win64 so much more like Win32 than different from
it that the common-case general Python programmer should not ever have to
make the differentiation in his Python code. Or, at least, enough so that
such differentiation by the Python scriptor is rare enough that some other
provided mechanism is sufficient (even preferable). Currently the answer
is yes. Hopefully MS will not change this answer.
2000-05-10 13:25:32 +00:00
Fred Drake
230cae7474
Trent Mick <trentm@activestate.com>:
...
Limit the 'b' formatter of PyArg_ParseTuple to valid values of an unsigned
char, i.e. [0,UCHAR_MAX]. It is expected that this is the common usage of 'b'.
An OverflowError is raised if the parsed value is outside this range.
2000-05-09 21:50:00 +00:00
Fred Drake
a69ef82643
M.-A. Lemburg <mal@lemburg.com>:
...
Added a useful link to Markus Kuhn's Unicode and UTF-8
FAQ.
2000-05-09 19:58:19 +00:00
Fred Drake
774c931c12
M.-A. Lemburg <mal@lemburg.com>:
...
Added another test for string formatting (the one that
produced the core dump now fixed in unicodeobject.c).
2000-05-09 19:57:46 +00:00