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.
1 parent d37ddb6 commit 5c66f74Copy full SHA for 5c66f74
setup/02_installing-python-libraries/python_environment_check.py
@@ -65,9 +65,10 @@ def get_packages(pkgs):
65
66
def get_requirements_dict():
67
"""
68
- Parses requirements.txt and returns a dictionary mapping package names (lowercase)
69
- to a specifier string (e.g. ">=2.18.0,<3.0"). It uses packaging.requirements.Requirement
70
- to properly handle environment markers.
+ Parses requirements.txt and returns a dictionary mapping package names (in lowercase)
+ to specifier strings (e.g. ">=2.18.0,<3.0"). It uses the Requirement class from
+ packaging.requirements to properly handle environment markers, and converts each object's
71
+ specifier to a string.
72
73
74
PROJECT_ROOT = dirname(realpath(__file__))
0 commit comments