- 16 Sep, 2000 11 commits
-
-
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 2 commits
-
-
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
-
Greg Ward authored
-
- 06 Sep, 2000 3 commits
-
-
Greg Ward authored
- 'mkpath()' the distribution dir in case of empty manifest - warn if empty manifest - detect, warn about, and skip non-regular files in manifest
-
Greg Ward authored
bug to boot: now works even if both MANIFEST and MANIFEST.in don't exist. Don't hardcode setup.py, use 'self.distribution.script_name'.
-
Greg Ward authored
-
- 01 Sep, 2000 6 commits
-
-
Greg Ward authored
* ensure the "dist" directory exists * raise exception if using for modules containing compiled extensions on a non-win32 platform. * don't create an .ini file anymore (it was just for debugging)
-
Greg Ward authored
* reverse library names from bcpp_library to library_bcpp * move some code to the right places, to put the def-files in the right directories again
-
Greg Ward authored
-
Greg Ward authored
(With a worry-wart comment added by me about where we *should* add the Python library to the link.)
-
Greg Ward authored
-
Greg Ward authored
fairly tight control, and the '_setup_stop_after' and '_setup_distribution' globals to provide the tight control. This isn't entirely reliable yet: it dies horribly with a NameError on the example PIL setup script in examples/pil_setup.py (at least with Python 1.5.2; untested with current Python). There's some strangeness going on with execfile(), but I don't understand it and don't have time to track it down right now.
-
- 31 Aug, 2000 1 commit
-
-
Greg Ward authored
according to the MS docs it enables exception-handling, and (according to Alex Martelli <aleaxit@yahoo.com>) is needed to compile without getting warnings from standard C++ library headers. Apparently it doesn't cause any problems with C code, so I haven't bothered conditionalizing the use of /GX.
-
- 30 Aug, 2000 2 commits