-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (73 loc) · 2.64 KB
/
setup.py
File metadata and controls
77 lines (73 loc) · 2.64 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python3
"""
Setup script for PII Incident Redaction Pipeline
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read README for long description
readme_path = Path(__file__).parent / "README.md"
long_description = readme_path.read_text(encoding="utf-8") if readme_path.exists() else ""
# Read requirements
requirements_path = Path(__file__).parent / "requirements.txt"
requirements = []
if requirements_path.exists():
requirements = requirements_path.read_text(encoding="utf-8").strip().split("\n")
requirements = [req.strip() for req in requirements if req.strip() and not req.startswith("#")]
setup(
name="pii-incident-redaction",
version="1.0.0",
author="PII Redaction Team",
author_email="team@pii-redaction.com",
description="A comprehensive multi-stage pipeline for automatically detecting, removing, and pseudonymizing PII from incident reports",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/kishorealliiita/pii-incident-redaction",
project_urls={
"Bug Reports": "https://github.com/kishorealliiita/pii-incident-redaction/issues",
"Source": "https://github.com/kishorealliiita/pii-incident-redaction",
},
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.11.0",
"flake8>=6.1.0",
"mypy>=1.7.0",
"pre-commit>=3.5.0",
],
"docs": [
"sphinx>=7.1.0",
"sphinx-rtd-theme>=1.3.0",
"myst-parser>=2.0.0",
],
},
entry_points={
"console_scripts": [
"pii-redaction=main:main",
],
},
include_package_data=True,
package_data={
"": ["*.json", "*.md", "*.txt"],
},
keywords="pii, privacy, redaction, incident-management, security, gdpr, compliance",
zip_safe=False,
)