-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
89 lines (75 loc) · 2.5 KB
/
pyproject.toml
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
88
89
[tool.poetry]
name = "appthreat-chen"
version = "2.0.10"
description = "Code Hierarchy Exploration Net (chen)"
authors = ["Team AppThreat <cloud@appthreat.com>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "chenpy"}]
homepage = "https://github.com/AppThreat/chen"
repository = "https://github.com/AppThreat/chen"
keywords = ["chen", "code-analysis", "static-analysis"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Utilities",
"Topic :: Security",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
exclude = ["ci", "console", "dataflowengineoss", "macros", "platform", "project", "scripts", "semanticcpg", "target", "tests", "workspace"]
[tool.poetry.urls]
"CI" = "https://github.com/AppThreat/chen/actions"
[tool.poetry.scripts]
chen = 'chenpy.cli:main'
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
httpx = "^0.27.0"
websockets = "^12.0"
uvloop = {version = "^0.17.0", markers = "sys_platform == 'linux' or sys_platform == 'darwin'", optional = true}
orjson = "^3.10.1"
rich = "^13.7.1"
oras = "0.1.26"
appdirs = "^1.4.4"
psutil = "^5.9.8"
packageurl-python = "^0.11.2"
gitpython = "^3.1.43"
[tool.poetry.extras]
science = ["uvloop", "networkx", "torch-geometric", "torch", "torchtext"]
database = ["networkx"]
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
black = "^24.4.1"
flake8 = "^7.0.0"
pytest-cov = "^5.0.0"
pyinstaller = "^6.6.0"
pdoc3 = "^0.10.0"
[tool.poetry.group.science]
optional = true
[tool.poetry.group.database]
optional = true
[tool.poetry.group.science.dependencies]
networkx = {extras = ["default", "extra"], version = "^3.3"}
torch-geometric = "^2.5.3"
torch = {version = "^2.3.0+cpu", source = "torch"}
torchtext = {version = "^0.18.0+cpu", markers = "sys_platform == 'linux' or sys_platform == 'darwin'", source = "torch"}
nbconvert = "^7.16.3"
jupyter-core = "^5.7.2"
jupyter-client = "^8.6.1"
notebook = "^7.1.3"
[tool.poetry.group.database.dependencies]
networkx = {extras = ["default", "extra"], version = "^3.1"}
[[tool.poetry.source]]
name = "pyg"
url = "https://data.pyg.org/whl/torch-2.1.0+cpu.html"
priority = "explicit"
[[tool.poetry.source]]
name = "torch"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"