-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (63 loc) · 1.87 KB
/
Copy pathsetup.py
File metadata and controls
65 lines (63 loc) · 1.87 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
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="docksec",
version="2026.7.5",
description="AI-Powered Docker Security Analyzer",
long_description=long_description,
long_description_content_type="text/markdown",
author="Advait Patel",
url="https://github.com/OWASP/DockSec",
packages=find_packages(),
entry_points={
"console_scripts": [
"docksec=docksec.cli:main",
],
},
project_urls={
"Bug Tracker": "https://github.com/OWASP/DockSec/issues",
"Documentation": "https://github.com/OWASP/DockSec/blob/main/README.md",
"Source Code": "https://github.com/OWASP/DockSec",
},
python_requires=">=3.12",
# Core install is scan-only (Trivy/Hadolint wrappers, reports, scoring)
# with no LLM stack. AI analysis needs the [ai] extra.
install_requires=[
"pydantic>=2.13,<3",
"python-dotenv>=1.0,<2",
"colorama>=0.4.6,<1",
"rich>=13.0,<16",
"fpdf2>=2.8,<3",
"setuptools>=65.0.0",
"ruamel.yaml>=0.18.6",
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"pytest-mock",
"black",
"isort",
"flake8",
"mypy",
],
"ai": [
"langchain-core>=1.3,<2",
"langchain>=1.2,<2",
"langchain-openai>=1.2,<2",
"langchain-anthropic>=1.4,<2",
"langchain-google-genai>=4.2,<5",
"langchain-ollama>=1.1,<2",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
include_package_data=True,
package_data={
'docksec': ['templates/*.html'],
},
)