rahul2001's picture
Fixed bugs
d8d2f7d
raw
history blame contribute delete
560 Bytes
from setuptools import find_packages,setup
HYPE_E_DOT = '-e .'
def get_req(path_file:str):
requirements = []
with open(path_file) as file_obj:
requirements = file_obj.readlines()
requirements = [req.replace("\n","") for req in requirements]
if HYPE_E_DOT in requirements:
requirements.remove(HYPE_E_DOT)
return requirements
setup(
name = "ml_project",
author= "Rahul",
version= "0.0.1",
packages= find_packages(),
install_require = get_req("requirements.txt")
)