diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-11-09 19:01:43 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-11-09 19:01:43 -0500 |
commit | ff9bc4902f32c331d917e8bae9136607e48c2738 (patch) | |
tree | 7f4eec1f3c7bd825f20f029229971a77bdc4d161 /setuptools/command/dist_info.py | |
parent | ada14dc9f376d9c325ad2eac8a20122b8da2c15e (diff) | |
parent | 403bfce4ab920823cc4ba0b5ca5ac0d1b213513d (diff) | |
download | external_python_setuptools-ff9bc4902f32c331d917e8bae9136607e48c2738.tar.gz external_python_setuptools-ff9bc4902f32c331d917e8bae9136607e48c2738.tar.bz2 external_python_setuptools-ff9bc4902f32c331d917e8bae9136607e48c2738.zip |
Merge branch 'master' of https://github.com/pypa/setuptools
Diffstat (limited to 'setuptools/command/dist_info.py')
-rw-r--r-- | setuptools/command/dist_info.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/setuptools/command/dist_info.py b/setuptools/command/dist_info.py index c8dc659b..c6c6dacb 100644 --- a/setuptools/command/dist_info.py +++ b/setuptools/command/dist_info.py @@ -7,6 +7,7 @@ import os import shutil from distutils.core import Command +from distutils import log class dist_info(Command): @@ -28,10 +29,12 @@ class dist_info(Command): egg_info = self.get_finalized_command('egg_info') egg_info.run() dist_info_dir = egg_info.egg_info[:-len('.egg-info')] + '.dist-info' + log.info("creating '{}'".format(os.path.abspath(dist_info_dir))) bdist_wheel = self.get_finalized_command('bdist_wheel') bdist_wheel.egg2dist(egg_info.egg_info, dist_info_dir) if self.egg_base: - shutil.move(dist_info_dir, os.path.join( - self.egg_base, dist_info_dir)) + destination = os.path.join(self.egg_base, dist_info_dir) + log.info("creating '{}'".format(os.path.abspath(destination))) + shutil.move(dist_info_dir, destination) |