Alamgirapi commited on
Commit
72c250a
·
verified ·
1 Parent(s): 29028ea

Update setup.py

Browse files
Files changed (1) hide show
  1. setup.py +22 -53
setup.py CHANGED
@@ -1,53 +1,22 @@
1
- from setuptools import find_packages, setup
2
- from typing import List
3
-
4
-
5
- # get the requirements into list
6
-
7
- HYPEN_E_DOT = '-e .'
8
-
9
- def get_requirements(file_path:str)->List[str]:
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 HYPEN_E_DOT in requirements:
16
- requirements.remove(HYPEN_E_DOT)
17
-
18
- return requirements
19
-
20
-
21
-
22
- '''
23
- def get_requirements_chatgpt(file_path: str) -> List[str]:
24
- with open(file_path, 'r') as file:
25
- requirements = file.readlines()
26
-
27
- # Strip whitespace and newline characters from each line
28
- requirements = [req.strip() for req in requirements if req.strip() and not req.startswith('-e')]
29
-
30
- return requirements
31
-
32
- '''
33
-
34
-
35
- setup(
36
- name='NoCodeTextClassifier',
37
- version='0.0.4',
38
- author='abdullah',
39
- author_email='alhasib.iu.cse@gmail.com',
40
- description="This package is for Text Classification of NLP Task",
41
- long_description=open('README.md').read(),
42
- long_description_content_type="text/markdown",
43
- url="https://github.com/Al-Hasib/NoCodeTextClassifier",
44
- install_requires=["pandas","scikit-learn","matplotlib","seaborn","pathlib","nltk","xgboost"],
45
- packages=find_packages(),
46
- classifiers=[
47
- "Programming Language :: Python :: 3",
48
- "License :: OSI Approved :: MIT License",
49
- "Operating System :: OS Independent",
50
- ], # Additional metadata
51
- python_requires='>=3.8', # Minimum Python version required
52
- )
53
-
 
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="NoCodeTextClassifier",
5
+ version="1.0.0",
6
+ packages=find_packages(),
7
+ install_requires=[
8
+ "streamlit>=1.28.1",
9
+ "pandas>=2.0.3",
10
+ "matplotlib>=3.7.2",
11
+ "numpy>=1.24.3",
12
+ "scikit-learn>=1.3.0",
13
+ "seaborn>=0.12.2",
14
+ "plotly>=5.15.0",
15
+ "nltk>=3.8.1",
16
+ "wordcloud>=1.9.2",
17
+ "textblob>=0.17.1",
18
+ ],
19
+ author="Your Name",
20
+ description="No Code Text Classification Tool",
21
+ python_requires=">=3.9",
22
+ )