-
Notifications
You must be signed in to change notification settings - Fork 173
/
setup.py
84 lines (80 loc) · 2.17 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
"""Setup file for the Atlas Client"""
import os
import sys
from setuptools import setup, find_packages
description = "The official Nomic python client."
# Read README.md and remove tables and images
with open("README.md") as f:
content = f.read()
# Remove table sections including content
while "<table>" in content and "</table>" in content:
start = content.find("<table>")
end = content.find("</table>") + 8
content = content[:start] + content[end:]
# Remove img tags and content
while "<img" in content and ">" in content:
start = content.find("<img")
end = content.find(">", start) + 1
content = content[:start] + content[end:]
long_description = content
setup(
name="nomic",
version="3.3.3",
url="https://github.com/nomic-ai/nomic",
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(include=["nomic", "nomic.*"]),
author_email="support@nomic.ai",
author="nomic.ai",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
],
install_requires=[
"click",
"jsonlines",
"loguru",
"rich",
"requests",
"numpy",
"pandas",
"pydantic",
"tqdm",
"pyarrow",
"pillow",
"pyjwt",
],
extras_require={
"local": [
"gpt4all>=2.5.0,<3",
],
"aws": ["boto3", "sagemaker"],
"all": [
"nomic[local,aws]",
],
"dev": [
"nomic[all]",
"black==24.3.0",
"coverage",
"pylint",
"pytest",
"isort",
"pyright<=1.1.377",
"myst-parser",
"mkdocs-material",
"mkautodoc",
"twine",
"mkdocstrings[python]",
"mkdocs-jupyter",
"pillow",
"cairosvg",
"pytorch-lightning",
"pandas",
],
},
entry_points={
"console_scripts": ["nomic=nomic.cli:cli"],
},
include_package_data=True,
)