vinetran commited on
Commit
9c7a5c6
1 Parent(s): 34fba42

setup repo

Browse files
Files changed (3) hide show
  1. README.md +2 -0
  2. requirements.txt +12 -0
  3. setup.py +25 -0
README.md ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ## Building Movie Recommender Project
2
+ [The application can be reached here] (https://vinetran-movie--recommender-app-tn7gmf.streamlit.app/)
requirements.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ numpy
2
+ pandas
3
+ matplotlib
4
+ seaborn
5
+ scikit-learn
6
+ missingno
7
+ joblib
8
+ tensorflow
9
+ keras
10
+ streamlit
11
+ pillow
12
+ -e .
setup.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from setuptools import find_packages, setup
2
+ from typing import List
3
+
4
+ HYPHEN_E_DOT = "-e ."
5
+ def get_requirements(file_path:str)->List[str]:
6
+ """
7
+ This function will return the list of requirements
8
+ """
9
+ requirements = []
10
+ with open(file_path) as file_obj:
11
+ requirements = file_obj.readlines()
12
+ requirements = [req.replace("\n", "") for req in requirements]
13
+
14
+ if HYPHEN_E_DOT in requirements:
15
+ requirements.remove(HYPHEN_E_DOT)
16
+ return requirements
17
+
18
+ setup(
19
+ name='movie__recommender',
20
+ version='0.0.1',
21
+ author='vinetran',
22
+ author_email='qv_tran@yahoo.com',
23
+ packages=find_packages(),
24
+ install_requires=get_requirements('requirements.txt')
25
+ )