forked from andrewtavis/kwx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (59 loc) · 1.69 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (59 loc) · 1.69 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
59
60
61
62
63
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import find_namespace_packages
import os
with open("README.md", "r") as fh:
long_description = fh.read()
setup_args = dict(
name="kwx",
version="0.1.0",
author="Andrew Tavis McAllister",
author_email="andrew.t.mcallister@gmail.com",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
],
description="Unsupervised BERT and LDA based keyword extraction in Python",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_namespace_packages(),
license="new BSD",
url="https://github.com/andrewtavis/kwx",
)
on_rtd = os.environ.get("READTHEDOCS") == "True"
if on_rtd:
install_requires = []
else:
install_requires = [
"pytest-cov",
"numpy",
"xlrd",
"pandas",
"matplotlib",
"seaborn",
"stopwordsiso",
"gensim",
"pyldavis",
"wordcloud",
"nltk",
"spacy",
"emoji",
"googletrans",
"scikit-learn",
"keras",
"IPython",
"sentence-transformers",
"tqdm",
]
if __name__ == "__main__":
setup(**setup_args, install_requires=install_requires)