Skip to content

Add setup.py to enable standard packaging and installation (pip/pipx/uv) - #63

Open
Mys7ic wants to merge 6 commits into
dirkjanm:masterfrom
Mys7ic:master
Open

Add setup.py to enable standard packaging and installation (pip/pipx/uv)#63
Mys7ic wants to merge 6 commits into
dirkjanm:masterfrom
Mys7ic:master

Conversation

@Mys7ic

@Mys7ic Mys7ic commented Nov 25, 2025

Copy link
Copy Markdown

Description

This PR adds a standard setup.py file to the repository.
Currently, users need to clone the repo and manage dependencies manually or set up aliases. By adding packaging metadata, the tools can be easily installed into isolated environments, with dependencies (impacket, ldap3, dnspython) resolved automatically.

This makes usage with modern tool managers like uv or pipx much smoother and exposes the scripts (e.g., krbrelayx.py, printerbug.py) directly to the PATH.

How to test / Install

1. Local Installation (Testing this PR)

You can test the installation directly from the source directory:

Using uv (Recommended):

uv tool install .
# Verify:
krbrelayx.py -h

Using pipx:

pipx install .

2. Remote Installation (After Merge)

Once merged, users can install the tools directly from GitHub without manual cloning:

Using uv:

uv tool install git+https://github.com/dirkjanm/krbrelayx

Using pipx:

pipx install git+https://github.com/dirkjanm/krbrelayx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants