from setuptools import find_packages, setup from typing import List def get_requirements() -> List[str] : """ This function returns the list of requirements """ requirements_lst:List[str] = [] try: with open("requirements.txt", "r") as file: lines = file.readlines() for line in lines: requirement = line.strip() if requirement and requirement != "-e .": requirements_lst.append(requirement) except FileNotFoundError: print("requirements.txt file not found") return requirements_lst print(get_requirements()) setup( name="AnimeRecommendationSystem", version= "0.0.1", author= "Krishnaveni Ponna", author_email= "ponnakrishnaveni76@gmail.com", packages= find_packages(), install_requires = get_requirements() )