- 15 Sep, 2000 3 commits
-
-
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
- 29 Aug, 2000 1 commit
-
-
Greg Ward authored
Changed 'core.setup()' so it sets them to reasonable defaults. Tweaked how the "usage" string is generated: 'core' now provides 'gen_usage()', which is used instead of 'USAGE'. Modified "build_py" and "sdist" commands to refer to 'self.distribution.script_name' rather than 'sys.argv[0]'.
-
- 27 Aug, 2000 1 commit
-
-
Greg Ward authored
Fix bad operator precedence: should be "(metadata or '') + '\n'".
-
- 26 Aug, 2000 3 commits
-
-
Greg Ward authored
The known bug (bogus error message when an empty file is extracted) is fixed. Other changes: - The target-compile and target-optimize flags of bdist_wininst are gone. It is no longer possible to compile the python files during installation. - The zlib module is no longer required or used by bdist_wininst. - I moved the decompression/extraction code into a separate file (extract.c). - The installer stub is now compressed by UPX (see http://upx.tsx.org/). This reduces the size of the exe (and thus the overhead of the final installer program) from 40 kB to 16 kB. - The installer displays a more uptodate user wizard-like user interface, also containing a graphic: Just's Python Powered logo. (I could not convince myself to use one of the BeOpen logos). - The installation progress bar now moves correctly.
-
Greg Ward authored
-
Greg Ward authored
don't assign None to any attributes of the Extension object.
-
- 22 Aug, 2000 2 commits
- 15 Aug, 2000 4 commits
-
-
Greg Ward authored
-
Greg Ward authored
'--source-only' options.
-
Greg Ward authored
hack to find the two created RPM files (source and binary) and move them to the "dist dir" (default "dist").
-
Greg Ward authored
represents packages as strings, not tuples. This allowed a simplification in 'get_package_dir()', too -- can now assume that 'package' is a string.
-
- 13 Aug, 2000 3 commits
-
-
Greg Ward authored
and is much better documented to boot.
-
Greg Ward authored
argument list.
-
Greg Ward authored
* use self.debug_print() for debug messages * uses now copy.copy() to copy lists * added 'shared_lib_extension=".dll"', ... , this is necessary if you want use the compiler class outside of the standard distutils build process. * changed result type of check_config_h() from int to string
-