()
| 40 | |
| 41 | # Reading dependencies from requirements.txt |
| 42 | def read_requirements(): |
| 43 | deps = [] |
| 44 | try: |
| 45 | with open("./requirements.txt", encoding="utf-8") as f: |
| 46 | deps = [ |
| 47 | line.strip() for line in f if line.strip() and not line.startswith("#") |
| 48 | ] |
| 49 | except FileNotFoundError: |
| 50 | print( |
| 51 | "Warning: 'requirements.txt' not found. No dependencies will be installed." |
| 52 | ) |
| 53 | return deps |
| 54 | |
| 55 | |
| 56 | metadata = retrieve_metadata() |