- 19 Sep, 2000 2 commits
-
-
Greg Ward authored
resource files. The gist of the patch is to treat ".rc" and ".mc" files as source files; ".mc" files are compiled to ".rc" and then ".res", and ".rc" files are compiled to ".res". Wish I knew what all these things stood for...
-
Thomas Heller authored
on other systems, so that data, headers, scripts are included in the installer.
-
- 18 Sep, 2000 1 commit
-
-
Greg Ward authored
-
- 17 Sep, 2000 3 commits
-
-
Greg Ward authored
-
Greg Ward authored
in a string (gives you something to do with the dictionary returned by 'parse_makefile()'). Pulled the regexes in 'parse_makefile()' out -- they're now globals, as 'expand_makefile_vars()' needs (two of) them. Cosmetic tweaks to 'parse_makefile()'.
-
Greg Ward authored
easier for people porting Makefile.pre.in-based extensions to Distutils. Also loosened argument-checking in Extension constructor to make life easier for 'read_setup_file()'.
-
- 16 Sep, 2000 18 commits
-
-
Greg Ward authored
are completely skipped, rather than being treated as blank lines (and then subject to the 'skip_blanks' flag). This allows us to process old-style Setup files, which rely on hello \\ # boo! there coming out as "hello there".
-
Greg Ward authored
Fixed precendence bug that meant setting skip_blanks to false didn't work under some circumstances.
-
Greg Ward authored
Factored the guts of 'warn()' out to 'gen_error()', and added the 'error()' method (trivial thanks to the refactoring).
-
Greg Ward authored
Dropped the 'collapse_ws' option and replaced it with 'collapse_join' -- it's *much* faster (no 're.sub()') and this is the reason I really added 'collapse_ws', ie. to remove leading whitespace from a line being joined to the previous line.
-
Greg Ward authored
(eg. "bdist_dumb", to generate both ZIP and tar archives in the same run), tell all but the last run to keep temp files -- this just gets rid of the need to pseudo-install the same files multiple times.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
Run "install" the right way, by calling 'run_command()'.
-
Greg Ward authored
-
Greg Ward authored
real implementation in Distribution.
-
Greg Ward authored
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.
-
Greg Ward authored
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.
-
Greg Ward authored
meant removing 'get_sub_commands()', and moving the 'sub_commands' class attribute to the end and restructuring it to conform to the new regime.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
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.
-
Greg Ward authored
-
- 15 Sep, 2000 6 commits
-
-
Greg Ward authored
the sometimes inappropriate warning about where we're installing data files.
-
Greg Ward authored
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).
-
Greg Ward authored
of globals from sysconfig.
-
Greg Ward authored
POSIX platforms, ie. get a little more detail than 'sys.platform' gives.
-
Greg Ward authored
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
-
Greg Ward authored
comments are stripped and lines are joined according to the backslash convention.
-
- 13 Sep, 2000 3 commits
- 12 Sep, 2000 1 commit
-
-
Greg Ward authored
directory too. Also generally cleaned up the code.
-
- 11 Sep, 2000 2 commits
- 10 Sep, 2000 1 commit
-
-
Greg Ward authored
interpreter the .spec file refers to. Cosmetic tweaks.
-
- 09 Sep, 2000 2 commits
-
-
Thomas Heller authored
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).
-
Thomas Heller authored
for python installations, not only under HKEY_LOCAL_MACHINE.
-
- 07 Sep, 2000 1 commit
-
-
Thomas Heller authored
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
-