File size: 1,484 Bytes
6bc88c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Importing Libraries
from setuptools import find_packages, setup
#from typing import List


# Decription of the local package 
with open("README.md","r",encoding="utf-8") as f:
    long_description = f.read()

# Define metadata variables
__version__ = '0.0.1'
src_name = 'recommendation-system'
author_name = 'Satkar'
author_user_name = 'Zenith40'
src_repo = 'recommendationSystem'      # name of folder inside  the src
author_email = '[email protected]'

# Function to read requirements.txt file
'''HYPEN_E_DOT = '-e.'

def get_requirements(file_path:str) -> List[str]:

    requirements = []



    with open(file_path) as file_obj:

        requirements = file_obj.readlines()

        requirements = [req.replace("\n","") for req in requirements]



        if HYPEN_E_DOT in requirements:

            requirements.remove(HYPEN_E_DOT)

'''


# Package Information
setup(
    name = src_repo,
    version = __version__,
    author = author_name,
    author_email = '[email protected]',
    description = 'Recommendation system + RAG Chatbot',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url = f"https://github.com/{author_user_name}/{src_name}",
    project_urls={
        "Bug Tracker" : f"https://github.com/{author_user_name}/{src_name}/issues"
    },
    package_dir={'':'src'},
    packages = find_packages(where='src'),
    #install_requires = get_requirements('requirements.txt')
)