- 01 Jun, 2000 3 commits
-
-
Greg Ward authored
Ensure 'make_archive()' method returns archive filename.
-
Greg Ward authored
-
Greg Ward authored
* added "--bdist-base" option to parameterize where we build the RPM (comes from "bdist" by default: "build/bdist.<plat>") * simplified/cleaned up some code in 'run()' in the process of removing (most) hard-coded directory names * if "--spec-only", drop spec file in "dist" rather than "redhat" (directory name still hard-coded, though) * use 'reinitialize_command()' to fetch the "sdist" object to tweak before running "sdist" command * use 'self.copy_file()' method rather than 'copy_file()' function * cosmetic tweaks to comments, error messages
-
- 31 May, 2000 9 commits
-
-
Greg Ward authored
* help strings start with lowercase * added affirmative version of '--no-clean' and '--no-rpm-opt-flags', which are the default (thus the attributes that correspond to the options are now 'clean' and 'use_rpm_opt_flags')
-
Fred Drake authored
detail that confuses too many people. Based on discussion in python-dev.
-
Andrew M. Kuchling authored
-
Greg Ward authored
Also changed it so it doesn't barf if the path is already in native format (ie. contains os.sep).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
"from distutils.core import" it.
-
Greg Ward authored
setup script) to be a list of Extension instances, rather than a list of of (ext_name, build_info) tuples. This is mostly a simplification, but 'check_extension_list()' got a lot more complicated because of the need to convert the old-style tuples to Extension instances. Temporarily dropped support for defining/undefining macros in the 'extensions' list -- I want to change the interface, but haven't yet made the required changes in CCompiler and friends to support this nicely. Also neatened up the code that merges 'extra_compile_flags' and the CFLAGS environment variable.
-
Greg Ward authored
the old (ext_name, build_info) tuple.
-
- 30 May, 2000 9 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
-
Greg Ward authored
useful (suggested by Moshe Zadka).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
just to get a little exception class. No more string-based exceptions.
-
Greg Ward authored
or LinkError (exception classes defined in ccompiler.py).
-
- 28 May, 2000 6 commits
-
-
Greg Ward authored
-
Greg Ward authored
Added 'reinitialize_command()' -- lets us "push" option values in a controlled, safe way; this is a small change to the code, but a big change to the Distutils philosophy of passing option values around. The preferred mode is still definitely to "pull" options from another command (eg. "install" fetches the base build directory from "build"), but it is now feasible to "push" options onto another command, when you know what's best for it. One possible application will be a "config" command, which pokes around the system and pushes values (eg. include and library directories) onto the "build" command. Added 'dump_option_dicts()' method (for debugging output).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
Added a warning for 'bdist_base' directory.
-
Greg Ward authored
-
- 27 May, 2000 8 commits
-
-
Greg Ward authored
* Command method 'find_peer()' -> 'get_finalized_command()' * Command method 'run_peer()' -> 'run_command()' Also deleted the 'get_command_option()' method from Command, and fixed the one place where it was used (in "bdist_dumb").
-
Andrew M. Kuchling authored
-
Greg Ward authored
directories after all is said and done, so we don't accidentally include those files in the source distribution. (This is the quick and easy way to fix this; Andrew says: "Changing findall() looked like it was going to be messy, so I tried this instead. The only problem is that redundant directory traversals are being done, walking through build/ only to throw out all the files found at the end.").
-
Greg Ward authored
and method 'has_headers()'.
-
Greg Ward authored
bug when adding new code, so I thought I'd make it blow up earlier than deep in posix.py.
-
Greg Ward authored
-
Greg Ward authored
* 'headers' entry added to all the install schemes * '--install-headers' option added * 'install_headers' added to 'sub_commands' * added 'dist_name' to configuration variables (along with a few others that seem handy: 'dist_version', 'dist_fullname', and 'py_version' * in 'finalize_unix()', make sure 'install_headers' defined if user specified 'install_base' and/or 'install_platbase' * added 'has_headers()' * a few other small changes
-
Greg Ward authored
-
- 26 May, 2000 5 commits
-
-
Jeremy Hylton authored
Python on UNIX now trusts PYTHONHOME unconditionally Modules/getpath.c: Landmark changed to os.py. Setting PYTHONHOME now unconditionally sets sys.prefix (and sys.exec_prefix). No further checks are done whether the standard lib can be found in that location or not. This is in sync with the PC subdir getpath implementations. PC/getpathp.c: Landmark changed to os.py. PC/os2vacpp/getpathp.c: Landmark changed to os.py. Note: BAW's checkin on exceptions.c eliminates earlier concerns about a bogus PYTHONHOME value leading to a core dump. Instead it causes a useless sys.path and prevents imports.
-
Fred Drake authored
Deprecated direct access to template. Added note about past need to modify template so that legacy code has a better chance of being understood, noting that the requirement to reset template after os.fork() disappeared in 1.5.2.
-
Barry Warsaw authored
-
Fred Drake authored
Removed obsolete comments about this module not creating or removing actual files. Removed obsolete comment about users needing to set template to None after calling os.fork().
-
Barry Warsaw authored
-