Spaces:
Build error
Build error
Download setup.py from rahul2001/student_performance: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/rahul2001/student_performance/resolve/main/setup.py
- Command line
-
hf download hf://spaces/rahul2001/student_performance/setup.py
-
curl -L -o setup.py https://huggingface.co/spaces/rahul2001/student_performance/resolve/main/setup.py
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") | |
| ) |