-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (25 loc) · 836 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from setuptools import setup,find_packages
from typing import List
#Declaring variables for setup functions
PROJECT_NAME="fraud-detector"
VERSION="0.0.8"
AUTHOR="Akash Rakshit"
DESRCIPTION="This is an end-to-end MLOPS project"
REQUIREMENT_FILE_NAME="requirements.txt"
def get_requirements_list()->List[str]:
"""
Description: This function is going to return list of requirement
mention in requirements.txt file
return This function is going to return a list which contain name
of libraries mentioned in requirements.txt file
"""
with open(REQUIREMENT_FILE_NAME) as requirement_file:
return requirement_file.readlines().remove("-e .")
setup(
name=PROJECT_NAME,
version=VERSION,
author=AUTHOR,
description=DESRCIPTION,
packages=find_packages(),
install_requires=get_requirements_list()
)