We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4995726 + 60270c2 commit 2958de3Copy full SHA for 2958de3
setuptools/command/dist_info.py
@@ -7,6 +7,7 @@
7
import shutil
8
9
from distutils.core import Command
10
+from distutils import log
11
12
13
class dist_info(Command):
@@ -28,10 +29,12 @@ def run(self):
28
29
egg_info = self.get_finalized_command('egg_info')
30
egg_info.run()
31
dist_info_dir = egg_info.egg_info[:-len('.egg-info')] + '.dist-info'
32
+ log.info("creating '{}'".format(os.path.abspath(dist_info_dir)))
33
34
bdist_wheel = self.get_finalized_command('bdist_wheel')
35
bdist_wheel.egg2dist(egg_info.egg_info, dist_info_dir)
36
37
if self.egg_base:
- shutil.move(dist_info_dir, os.path.join(
- self.egg_base, dist_info_dir))
38
+ destination = os.path.join(self.egg_base, dist_info_dir)
39
+ log.info("creating '{}'".format(os.path.abspath(destination)))
40
+ shutil.move(dist_info_dir, destination)
0 commit comments