]> granicus.if.org Git - python/commit
Changed to use the new 'has_pure_modules()' and 'has_ext_modules()' methods
authorGreg Ward <gward@python.net>
Fri, 31 Mar 2000 02:50:04 +0000 (02:50 +0000)
committerGreg Ward <gward@python.net>
Fri, 31 Mar 2000 02:50:04 +0000 (02:50 +0000)
commit578c10d9a542883428b54ef4684497c31b4cf8d3
tree80f64bf04e4a5ae95000ad4accbc2616bd1a3851
parent43da798b426be41870b5a9cb639f2d06b2b4b985
Changed to use the new 'has_pure_modules()' and 'has_ext_modules()' methods
  provided by Distribution.
Cosmetic and error message tweaks.
Simplified 'make_release_tree()':
  * extracted 'distutils.util.create_tree()'
  * don't have to do hard-linking ourselves -- it's now handled by
    'distutils.util.copy_file()' (although the detection of
    whether hard linking is available still needs to be factored out)
Removed 'make_tarball()' and 'make_zipfile()' entirely -- their role
  is now amply filled by 'distutils.util.make_archive()'.
Simplified 'make_distribution()':
  * use Distribution's new 'get_full_name()' method
  * use 'make_archive()' instead of if/elif/.../else on the archive format
Lib/distutils/command/sdist.py