Organize the code into a proper Python package

Closes: #5
This commit is contained in:
Maxwell G 2026-05-08 16:39:02 -05:00
commit 58287d8e98
Signed by: gotmax23
GPG key ID: F79E4E25E8C661F8
4 changed files with 18 additions and 8 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.egg-info
/orphans/
__pycache__
*.pyc

14
pyproject.toml Normal file
View file

@ -0,0 +1,14 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
[project]
name = "endorphans"
version = "0"
description = "NG tooling for handling the Fedora Orphaned Packages Process"
requires-python = ">=3.12"
dependencies = [
"click",
"fedrq",
]
scripts.endorphans = "endorphans.main:main"

View file

View file

@ -1,12 +1,4 @@
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "click",
# "fedrq",
# "libdnf5-shim",
# ]
# ///
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2026 Maxwell G <maxwell@gtmx.me>