-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
87 lines (83 loc) · 2.43 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
85
86
87
from setuptools import find_packages, setup
# Read README for the long description
with open("README.md", "r") as f:
long_description = f.read()
# Use a single source of truth for the version
__version__ = "4.0.0"
project_urls = {
"Homepage": "https://datafog.ai",
"Documentation": "https://docs.datafog.ai",
"Discord": "https://discord.gg/bzDth394R4",
"Twitter": "https://twitter.com/datafoginc",
"GitHub": "https://github.com/datafog/datafog-python",
}
setup(
name="datafog",
version=__version__,
author="Sid Mohan",
author_email="sid@datafog.ai",
description="Scan, redact, and manage PII in your documents before they get uploaded to a Retrieval Augmented Generation (RAG) system.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[
"pandas",
"requests==2.32.3",
"spacy==3.7.5",
"pydantic",
"Pillow",
"sentencepiece",
"protobuf",
"pytesseract",
"aiohttp",
"pytest-asyncio",
"numpy",
"fastapi",
"asyncio",
"setuptools",
"pydantic-settings==2.3.4",
"typer==0.12.3",
"sphinx",
"cryptography",
],
python_requires=">=3.10,<3.13",
entry_points={
"console_scripts": [
"datafog=datafog.client:app",
],
},
classifiers=[
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: tox",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
],
keywords="pii, redaction, nlp, rag, retrieval augmented generation",
maintainer="DataFog",
maintainer_email="hi@datafog.ai",
url="https://datafog.ai",
project_urls=project_urls,
license="MIT",
extras_require={
"dev": [
"just",
"isort",
"black",
"blacken-docs",
"flake8",
"tox",
"pytest",
"pytest-codeblocks",
"pytest-cov",
"build",
"twine",
],
},
)