forked from phurwicz/hover
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (51 loc) · 1.54 KB
/
Copy pathsetup.py
File metadata and controls
55 lines (51 loc) · 1.54 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
import setuptools
import os
def get_description():
if os.path.isfile("README.md"):
with open("README.md", "r") as fh:
desc = fh.read()
else:
desc = ""
return desc
setuptools.setup(
name="hover",
version="0.7.1",
description="Label data at scale. Fun and precision included.",
long_description=get_description(),
long_description_content_type="text/markdown",
author="Pavel",
author_email="pavelhurwicz@gmail.com",
url="https://github.com/phurwicz/hover",
packages=setuptools.find_packages(include=["hover*"]),
install_requires=[
# python-version-specific example: "numpy>=1.14,<=1.21.5;python_version<'3.8.0'",
# interactive/static visualization
"bokeh>=2.3.3",
# preprocessors
"scikit-learn>=0.20.0",
# neural stuff
"torch>=1.10.0",
# data handling
"pandas>=1.3.0",
"numpy>=1.22",
# computations
"scipy>=1.3.2",
# utilities
"tqdm>=4.0",
"rich>=11.0.0",
"deprecated>=1.1.0",
# dimensionality reduction: UMAP is included
"umap-learn>=0.3.10",
# optional: more dimensionality reduction methods
# "ivis[cpu]>=1.7",
# optional: distant supervision
# "snorkel>=0.9.8",
],
python_requires=">=3.8",
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)