File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -627,6 +627,8 @@ def prepare_pep517_metadata(self):
627
627
628
628
self .metadata_directory = os .path .join (metadata_dir , distinfo_dir )
629
629
630
+ # NOTE: This is only used in get_dist(), so look into eagerly assigning to
631
+ # metadata_directory in this case, once metadata is generated.
630
632
@property
631
633
def egg_info_path (self ):
632
634
# type: () -> str
@@ -702,6 +704,7 @@ def get_dist(self):
702
704
dist_dir = self .egg_info_path .rstrip (os .path .sep )
703
705
# https://github.com/python/mypy/issues/1174
704
706
dist_cls = pkg_resources .Distribution # type: ignore
707
+ # dist_dir_name can be of the form "<project>.dist-info" or
705
708
# e.g. "<project>.egg-info".
706
709
base_dir , dist_dir_name = os .path .split (dist_dir )
707
710
dist_name = os .path .splitext (dist_dir_name )[0 ]
You can’t perform that action at this time.
0 commit comments