| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
real implementation in Distribution.
|
|
|
|
|
|
| |
the command's sub-commands as well (off by default). This is essential if
we want to be be able to run (eg.) "install" twice in one run, as happens
when generating multiple built distributions in one run.
|
|
|
|
|
|
|
| |
families" -- eg. install and its brood, build and its brood, and so forth.
Specifically: added the 'sub_commands' class attribute (empty list, sub-
classes must override it) and a comment describing it, and the
'get_sub_commands()' method.
|
|
|
|
|
| |
meant removing 'get_sub_commands()', and moving the 'sub_commands' class
attribute to the end and restructuring it to conform to the new regime.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
- document some of the tricky tests (hopefully correctly :)
|
|
|
|
|
|
| |
query string
also some doc string reformatting and use of string methods instead of
older string.splitfields
|
| |
|
|
|
|
| |
document element.
|
|
|
|
|
|
|
|
|
|
|
| |
Strings are unpickled by calling eval on the string's repr. This
change makes pickle work like cPickle; it checks if the pickled
string is safe to eval and raises ValueError if it is not.
test suite modifications:
Verify that pickle catches a variety of insecure string pickles
Make test_pickle and test_cpickle use exactly the same test suite
Add test for pickling recursive object
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
from Tk.readprofile(), do not print anything extra to stdout, just run
the code.
|
|
|
|
| |
the sometimes inappropriate warning about where we're installing data files.
|
|
|
|
|
|
|
| |
of globals from sysconfig.
Added 'prefix' and 'exec_prefix' to the list of variables that can be
expanded in installation directories (preserving the stupid old names
of 'sys_prefix' and 'sys_exec_prefix, though).
|
|
|
|
| |
of globals from sysconfig.
|
|
|
|
| |
POSIX platforms, ie. get a little more detail than 'sys.platform' gives.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
all that work when someone asks for a "configuration variable" from the
Makefile. Details:
- added 'get_config_vars()': responsible for calling one of the
'_init_*()' functions to figure things out for this platform,
and to provide an interface to the resulting dictionary
- added 'get_config_var()' as a simple interface to the dictionary
loaded by 'get_config_vars()'
- changed the '_init_*()' functions so they load the global dictionary
'_config_vars', rather than spewing their findings all over
the module namespace
- don't delete the '_init_*()' functions when done importing
- adjusted 'customize_compiler()' to the new regime
|
|
|
|
|
| |
comments are stripped and lines are joined according to the backslash
convention.
|
|
|
|
| |
ignoring them; e.g. Zope sometimes returns 13497L
|
|
|
|
|
|
|
|
|
|
| |
character according to RFC 2396. Add some text to quote doc string
that explains the quoting rules better.
This closes SF Bug #114427.
Add _fast_quote operation that uses a dictionary instead of a list
when the standard set of safe characters is used.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mailbox.py (from the CVS tree) doesn't work with qmail Maildirs:
Filenames are completed when the directories are scanned, and
the directory name is prepended again in the next() method.
Another suggestion: Change the print statement in the _test()
driver to show two more date characters (probably the length
has increased due to the recent Y2K hype ;). Now it shows the
complete date, including the seconds -- at least for me. (I've
also made the sender field left justified, in case it is ever
shorter than the field width).
|
|
|
|
| |
compilation).
|
| |
|
|
|
|
| |
<prefix>:Lib:site-packages.
|
|
|
|
| |
directory too. Also generally cleaned up the code.
|
| |
|
|
|
|
| |
was raised. This occurred during installation.
|
| |
|
|
|
|
| |
generated filenames.
|
|
|
|
|
| |
interpreter the .spec file refers to.
Cosmetic tweaks.
|
|
|
|
|
|
|
|
| |
used to create the distribution and the creation date.
Takes care of the extra_path argument to the setup function,
installs the modules into <prefix>/extra_path and creates
a -pth file (like install_lib does).
|
|
|
|
| |
for python installations, not only under HKEY_LOCAL_MACHINE.
|
|
|
|
|
|
|
|
| |
Paid more attention to the comments on the report; Martin suggested just
not having a __del__() method, which makes more sense in this case. So
I have removed it.
This closes SourceForge bug #113850. Again.
|
|
|
|
|
|
|
|
| |
The posixfile __del__ method attempts to close the file (_file_) it
contains. However, if the open() method fails, then _file_ is never
assigned.
This closes SourceForge bug #113850.
|
|
|
|
| |
(SF patch 101447, fixing PR#113704)
|
|
|
|
| |
various illegal uses of "continue".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distutils/command/bdist_wininst.py:
- the windows installer is again able to compile after installing
the files. Note: The default has changed, the packager has to
give --no-target-compile/--no-target-optimize to NOT compile
on the target system. (Another note: install_lib's --compile
--optimize options have the same semantics to switch off
the compilation. Shouldn't the names change?)
- All references to specific python versions are gone.
- A small bug:
raise DistutilsPlatformError ("...")
instead of
raise DistutilsPlatformError, ("...")
- When bdist_wininst creates an installer for one specific python
version, this is reflected in the name:
Distutils-0.9.2.win32-py15.exe instead of
Distutils-0.9.2.win32.exe
- bdist_wininst, when run as script, reads the wininst.exe file
and rewrites itself. Previously this was done by hand.
misc/install.c
- All the changes needed for compilation
- Deleted a lot of debug/dead code
|
|
|
|
| |
to zero if that's the case (closes bug #113727)
|
|
|
|
| |
they are copied as atomic types.
|
| |
|
| |
|