-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
63 lines (57 loc) · 1.9 KB
/
setup.py
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
import json
import os
from setuptools import find_packages, setup
containing_dir = os.path.split(__file__)[0]
with open(os.path.join(containing_dir, "meta.json"), "r") as f:
meta = json.load(f)
readme_path = os.path.join(containing_dir, "README.md")
with open(readme_path, "r") as f:
long_description = f.read()
setup(
name=meta["name"],
author=meta["author"],
maintainer=meta["maintainer"],
version=meta["version"],
packages=find_packages(exclude=["test"]),
license="LICENSE.txt",
description=meta["description"],
long_description=long_description,
long_description_content_type="text/markdown",
# Needed to ensure Dockerfiles, etc are copied with the package
include_package_data=True,
url=meta["url"],
install_requires=[
"docker >= 3.7.0",
"numpy >= 1.16.0",
"pandas >= 0.24.0",
"scikit-learn >= 0.22.0",
"ray >= 0.8.4",
"altair >= 3.2.0",
"click >= 7.0",
"humanize >= 1.1.0",
],
extras_require={
"augment": ["nltk>=3.4.4", "gensim>=3.8.2", "spacy>=2.1.4"],
"tokenize": ["sentencepiece >= 0.1.83, < 0.1.90"],
"interactive": [
"streamlit >= 0.56.0",
"gensim >= 3.8.2",
"umap-learn >= 0.3.10",
"eli5 >= 0.10.1",
"hdbscan >= 0.8.24",
],
},
python_requires=">=3.7",
entry_points={"console_scripts": ["gobbli = gobbli.cli:main"]},
classifiers=[
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
],
)