- 20 Dec, 2000 1 commit
-
-
Andrew M. Kuchling authored
DISTUTILS_DEBUG set"
-
- 12 Dec, 2000 1 commit
-
-
Fred Drake authored
Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
-
- 11 Nov, 2000 1 commit
-
-
Greg Ward authored
use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
-
- 15 Oct, 2000 1 commit
-
-
Greg Ward authored
-
- 14 Oct, 2000 5 commits
- 12 Oct, 2000 1 commit
-
-
Thomas Heller authored
This should close SF bug (patch) http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
-
- 03 Oct, 2000 4 commits
-
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
about how it would be nice to write absolute paths to the temporary byte-compilation script, but this doesn't work because it screws up the trailing-slash trickery done to 'prefix' in build_py's 'byte_compile()' method. Fixed to use 'execute()' instead of 'os.remove()' to remove the temporary script: now it doesn't blow up in dry-run mode!
-
- 02 Oct, 2000 5 commits
-
-
Greg Ward authored
-
Greg Ward authored
by default (since compiling at install time works just fine). Details: - added 'compile' and 'optimize' options - added 'byte_compile()' method - changed 'get_outputs()' so it includes bytecode files A lot of the code added is very similar to code in install_lib.py; would be nice to factor it out further.
-
Greg Ward authored
instruct the "install_lib" command from the command-line.
-
Greg Ward authored
choice between (compile, no-compile) * (optimize=0, optimize=1, optimize=2). Details: - added --no-compile option to complement --compile, which has been there for ages - changed --optimize (which never worked) to a value option, which expects 0, 1, or 2 - renamed 'bytecompile()' method to 'byte_compile()', and beefed it up to handle both 'compile' and 'optimize' options - fix '_bytecode_filenames()' to respect the new options
-
Greg Ward authored
-
- 01 Oct, 2000 2 commits
- 30 Sep, 2000 13 commits
-
-
Greg Ward authored
'util.byte_compile()'. Currently just reproduces the existing functionality -- doesn't use any of the fancy features in the new 'byte_compile()'.
-
Greg Ward authored
standard 'py_compile.compile()' function. Laundry list of features: - handles standard Distutils 'force', 'verbose', 'dry_run' flags - handles various levels of optimization: can compile directly in this interpreter process, or write a temporary script that is then executed by a new interpreter with the appropriate flags - can rewrite the source filename by stripping an optional prefix and preprending an optional base dir.
-
Greg Ward authored
Fixed 'subst_vars()' so it actually blows up like the docstring claims (and fixed the docstring not to claim it handles ${var}, which it doesn't).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
absolute pathnames; this lets it keep working in the face of chdir'ing around.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
on the module file -- could be useful for subclasses overriding it.
-
Greg Ward authored
this will please everyone (as if that's possible).
-
Greg Ward authored
'uname()' -- specifically NeXTSTEP.
-
Greg Ward authored
- added 'sub_commands' class attr - added 'has_*()' predicates referenced by the sub-command list - rewrote 'run()' so it's a trivial loop over relevant sub-commands
-
Greg Ward authored
-
- 29 Sep, 2000 1 commit
-
-
Thomas Heller authored
They are unneeded: All this stuff is already done by the install command which is run by bdist_wininst. One bug has been fixed: The root of the fake install tree is install.install_purelib, not install.install_lib! They are different if the extra_path option is used in the setup function. Rebuild after the changes to wininst.exe.
-
- 28 Sep, 2000 1 commit
-
-
Thomas Heller authored
Removed get_ext_libname() because it is unused. Fixed get_libraries() to append an '_d' to the python debug import library. If MSVC is used, do not add 'pythonxx.lib' to the list of libraries, because this is handled better by a pragma in config.h. This should fix bug #115595, but it needs some more testing.
-
- 27 Sep, 2000 4 commits
-
-
Greg Ward authored
-
Greg Ward authored
deprecated after all. But now they're only implemented once, instead of N times.
-
Greg Ward authored
implementations. Details: * replace 'link_shared_object()', 'link_shared_lib()', and 'link_executable()' with 'link()', which is (roughly) the union of the three methods it replaces * in all implementation classes (UnixCCompiler, MSVCCompiler, etc.), ditch the old 'link_*()' methods and replace them with 'link()' * in the abstract base class (CCompiler), add the old 'link_*()' methods as wrappers around the new 'link()' (they also print a warning of the deprecated interface) Also increases consistency between MSVCCompiler and BCPPCompiler, hopefully to make it easier to factor out the mythical WindowsCCompiler class. Details: * use 'self.linker' instead of 'self.link' * add ability to compile resource files to BCPPCompiler * added (redundant?) 'object_filename()' method to BCPPCompiler * only generate a .def file if 'export_symbols' defined
-
Greg Ward authored
-