Skip to content

Commit

Permalink
edited code comment to make it clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
ForgottenProgramme committed Aug 8, 2021
1 parent 2e2ab84 commit 9c3242e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions grayskull/pypi/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,9 @@ def _injection_distutils(folder: str) -> dict:
setup function by the inner function __fake_distutils_setup.
This method is a contextmanager, after leaving the context it will return
with the normal implementation of the distutils.core.setup.
This method is necessary because some information are missing from the
pypi metadata and also for those packages which the pypi metadata is missing.
This method is necessary for two reasons:
-pypi metadata for some packages might be absent from the pypi API.
-pypi metadata, when present, might be missing some information.
:param folder: Path to the folder where the sdist package was extracted
:yield: return the metadata from sdist
Expand Down

0 comments on commit 9c3242e

Please sign in to comment.