from setuptools import find_packages,setup HYPE_DOT = ".e" requirements = [] def get_requirements(file_path:str): requirements = [] with open(file_path) as file_obj: requirements = file_obj.readlines() requirements = [req.replace("\n","") for req in requirements] return requirements setup( name = "ml_project", author= "Rahul", version= "0.0.1", packages= find_packages(), install_require = get_requirements("Requirement.txt") ) if __name__ == "__main__": setup()