-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (54 loc) · 1.58 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (54 loc) · 1.58 KB
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
49
50
51
52
53
54
55
56
57
58
"""
setup.py
Package configuration for QueryTwin AI.
Enables `pip install -e .` for local development.
"""
from setuptools import setup, find_packages
from pathlib import Path
README = (Path(__file__).parent / "README.md").read_text(encoding="utf-8", errors="ignore")
setup(
name="querytwin-ai",
version="2.0.0",
description="Intelligent Duplicate Question Detection powered by XGBoost, "
"NLP Feature Engineering, and Transformer Embeddings.",
long_description=README,
long_description_content_type="text/markdown",
author="Satvik",
python_requires=">=3.9",
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=[
"streamlit>=1.30",
"numpy>=1.24",
"pandas>=2.0",
"scikit-learn>=1.3",
"xgboost>=2.0",
"joblib>=1.3",
"nltk>=3.8",
"beautifulsoup4>=4.12",
"lxml>=4.9",
"scipy>=1.11",
"fuzzywuzzy>=0.18",
"python-Levenshtein>=0.21",
"distance>=0.1.3",
"matplotlib>=3.7",
"seaborn>=0.13",
"plotly>=5.18",
"shap>=0.43",
"optuna>=3.4",
"tqdm>=4.66",
],
extras_require={
"transformers": ["sentence-transformers>=2.2"],
"dev": ["pytest>=7.4", "pytest-cov>=4.1"],
},
entry_points={
"console_scripts": [
"querytwin-train=src.train:main",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Linguistic",
],
)