File tree 3 files changed +31
-0
lines changed
3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ pandas
2
+ numpy
3
+ seaborn
Original file line number Diff line number Diff line change
1
+ from setuptools import find_packages , setup
2
+ from typing import List
3
+
4
+ HYPHEN_E_DOT = '-e .'
5
+
6
+ def get_requirements (file_path :str )-> List [str ]:
7
+ '''
8
+ this function will return the list of requirements
9
+ '''
10
+ requirements = []
11
+ with open (file_path ) as file_obj :
12
+ requirements = file_obj .readlines ()
13
+ requirements = [req .replace ("\n " ,"" ) for req in requirements ]
14
+
15
+ if HYPHEN_E_DOT in requirements :
16
+ requirements .remove (HYPHEN_E_DOT )
17
+
18
+ return requirements
19
+
20
+
21
+ setup (
22
+ name = "mlproject" ,
23
+ version = '0.0.1' ,
24
+ author = 'sanjay' ,
25
+ author_email = 'skprasad117@gmail.com' ,
26
+ packages = find_packages (),
27
+ install_requires = get_requirements ('requirements.txt' )
28
+ )
You can’t perform that action at this time.
0 commit comments