Add setup.py
Browse files
setup.py
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
SentilensAI - Setup Configuration
|
3 |
+
|
4 |
+
Setup script for SentilensAI sentiment analysis package.
|
5 |
+
"""
|
6 |
+
|
7 |
+
from setuptools import setup, find_packages
|
8 |
+
import os
|
9 |
+
|
10 |
+
# Read the README file
|
11 |
+
def read_readme():
|
12 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
13 |
+
return fh.read()
|
14 |
+
|
15 |
+
# Read requirements
|
16 |
+
def read_requirements():
|
17 |
+
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
18 |
+
return [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
19 |
+
|
20 |
+
setup(
|
21 |
+
name="sentilens-ai",
|
22 |
+
version="1.0.0",
|
23 |
+
author="Pravin Selvamuthu",
|
24 |
+
author_email="[email protected]",
|
25 |
+
description="Advanced sentiment analysis for AI chatbot messages using LangChain and machine learning",
|
26 |
+
long_description=read_readme(),
|
27 |
+
long_description_content_type="text/markdown",
|
28 |
+
url="https://github.com/kernelseed/sentilens-ai",
|
29 |
+
project_urls={
|
30 |
+
"Bug Tracker": "https://github.com/kernelseed/sentilens-ai/issues",
|
31 |
+
"Documentation": "https://github.com/kernelseed/sentilens-ai/wiki",
|
32 |
+
"Source Code": "https://github.com/kernelseed/sentilens-ai",
|
33 |
+
},
|
34 |
+
packages=find_packages(),
|
35 |
+
classifiers=[
|
36 |
+
"Development Status :: 5 - Production/Stable",
|
37 |
+
"Intended Audience :: Developers",
|
38 |
+
"Intended Audience :: Science/Research",
|
39 |
+
"License :: OSI Approved :: MIT License",
|
40 |
+
"Operating System :: OS Independent",
|
41 |
+
"Programming Language :: Python :: 3",
|
42 |
+
"Programming Language :: Python :: 3.8",
|
43 |
+
"Programming Language :: Python :: 3.9",
|
44 |
+
"Programming Language :: Python :: 3.10",
|
45 |
+
"Programming Language :: Python :: 3.11",
|
46 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
47 |
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
48 |
+
"Topic :: Text Processing :: Linguistic",
|
49 |
+
],
|
50 |
+
python_requires=">=3.8",
|
51 |
+
install_requires=read_requirements(),
|
52 |
+
extras_require={
|
53 |
+
"dev": [
|
54 |
+
"pytest>=7.4.3",
|
55 |
+
"pytest-cov>=4.1.0",
|
56 |
+
"black>=23.12.1",
|
57 |
+
"flake8>=6.1.0",
|
58 |
+
"mypy>=1.8.0",
|
59 |
+
"pre-commit>=3.6.0",
|
60 |
+
],
|
61 |
+
"visualization": [
|
62 |
+
"matplotlib>=3.9.2",
|
63 |
+
"seaborn>=0.13.2",
|
64 |
+
"plotly>=5.17.0",
|
65 |
+
"wordcloud>=1.9.2",
|
66 |
+
],
|
67 |
+
"api": [
|
68 |
+
"fastapi>=0.108.0",
|
69 |
+
"uvicorn>=0.25.0",
|
70 |
+
"pydantic>=2.5.2",
|
71 |
+
],
|
72 |
+
"advanced-ml": [
|
73 |
+
"xgboost>=2.1.3",
|
74 |
+
"lightgbm>=4.1.0",
|
75 |
+
"catboost>=1.2.2",
|
76 |
+
],
|
77 |
+
},
|
78 |
+
entry_points={
|
79 |
+
"console_scripts": [
|
80 |
+
"sentilens-ai-analyze=sentiment_analyzer:main",
|
81 |
+
"sentilens-ai-train=ml_training_pipeline:main",
|
82 |
+
"sentilens-ai-integrate=chatbot_integration:main",
|
83 |
+
"sentilens-ai-visualize=visualization:main",
|
84 |
+
],
|
85 |
+
},
|
86 |
+
include_package_data=True,
|
87 |
+
package_data={
|
88 |
+
"sentilens_ai": [
|
89 |
+
"*.json",
|
90 |
+
"*.yaml",
|
91 |
+
"*.yml",
|
92 |
+
"templates/*",
|
93 |
+
"static/*",
|
94 |
+
],
|
95 |
+
},
|
96 |
+
keywords=[
|
97 |
+
"sentiment-analysis",
|
98 |
+
"chatbot",
|
99 |
+
"ai",
|
100 |
+
"machine-learning",
|
101 |
+
"langchain",
|
102 |
+
"nlp",
|
103 |
+
"natural-language-processing",
|
104 |
+
"emotion-detection",
|
105 |
+
"conversation-analysis",
|
106 |
+
"artificial-intelligence",
|
107 |
+
],
|
108 |
+
zip_safe=False,
|
109 |
+
)
|