feat: scaffold drstats project with setuptools build, gitignore, and utro CLI entry point

Initialize the dRStats repository with core project structure: add .gitignore excluding dist and venv directories, create Makefile for pip-based build and editable install, write README.md describing the devrant health monitoring purpose, define pyproject.toml using setuptools build backend, configure setup.cfg with metadata (name drstats, version 0.1.1, MIT license, aiohttp dependency) and console_scripts entry point mapping 'utro' to drstats.statistics:rant_stats, and include generated egg-info metadata files.
This commit is contained in:
retoor 2024-11-23 18:56:52 +00:00
commit c32565621d
11 changed files with 74 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
dist
venv

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
all: build
build:
pip install build
python -m build .
pip install -e .

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# dRStats
## About
Simple project to determine health of the devrant platform.

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

24
setup.cfg Normal file
View File

@ -0,0 +1,24 @@
[metadata]
name = drstats
version = 0.1.1
description = Dr Stats
author = Retoor
author_email = retoor@retoor.io
license = MIT
long_description = file: README.md
long_description_content_type = text/markdown
[options]
packages = find:
package_dir =
= src
python_requires = >=3.7
install_requires =
aiohttp>=3.10.10
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
utro = drstats.statistics:rant_stats

View File

@ -0,0 +1,18 @@
Metadata-Version: 2.1
Name: drstats
Version: 0.1.1
Summary: Dr Stats
Author: Retoor
Author-email: retoor@retoor.io
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: aiohttp>=3.10.10
# dRStats
## About
Simple project to determine health of the devrant platform.

View File

@ -0,0 +1,9 @@
README.md
pyproject.toml
setup.cfg
src/drstats.egg-info/PKG-INFO
src/drstats.egg-info/SOURCES.txt
src/drstats.egg-info/dependency_links.txt
src/drstats.egg-info/entry_points.txt
src/drstats.egg-info/requires.txt
src/drstats.egg-info/top_level.txt

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,2 @@
[console_scripts]
utro = drstats.statistics:rant_stats

View File

@ -0,0 +1 @@
aiohttp>=3.10.10

View File

@ -0,0 +1 @@