Skip to content

Commit

Permalink
Update packaging flow
Browse files Browse the repository at this point in the history
  • Loading branch information
CravateRouge committed Sep 1, 2023
1 parent 9d9411c commit 6c3d924
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 38 deletions.
10 changes: 4 additions & 6 deletions autobloody/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,10 @@ def _createGraph(tx):
@staticmethod
def _findShortestPath(tx, source, target):
result = tx.run(
(
"MATCH (s {name:$source}), (t {name:$target}) CALL"
" gds.shortestPath.dijkstra.stream('autobloody',{sourceNode:s,"
" targetNode:t, relationshipWeightProperty:'bloodycost'})YIELD path"
" RETURN path"
),
"MATCH (s {name:$source}), (t {name:$target}) CALL"
" gds.shortestPath.dijkstra.stream('autobloody',{sourceNode:s,"
" targetNode:t, relationshipWeightProperty:'bloodycost'})YIELD path"
" RETURN path",
source=source,
target=target,
)
Expand Down
29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "autobloody"
authors = [
{ name="CravateRouge", email="baptiste.crepin@ntymail.com" },
]
version = "0.1.7"
description = "AD Privesc Automation"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"bloodyAD>=1.0.3",
"neo4j>=4.4.6",
]

[project.urls]
"Homepage" = "https://github.com/CravateRouge/autobloody"
"Bug Tracker" = "https://github.com/CravateRouge/autobloody/issues"

[project.scripts]
autobloody = "autobloody.main:main"
32 changes: 0 additions & 32 deletions setup.py

This file was deleted.

0 comments on commit 6c3d924

Please sign in to comment.