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:
2024-11-23 18:56:52 +00:00
commit c32565621d
11 changed files with 74 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
dist
venv
+6
View File
@@ -0,0 +1,6 @@
all: build
build:
pip install build
python -m build .
pip install -e .
+7
View File
@@ -0,0 +1,7 @@
# dRStats
## About
Simple project to determine health of the devrant platform.
+3
View File
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
+24
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
+18
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.
+9
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
@@ -0,0 +1 @@
+2
View File
@@ -0,0 +1,2 @@
[console_scripts]
utro = drstats.statistics:rant_stats
+1
View File
@@ -0,0 +1 @@
aiohttp>=3.10.10
+1
View File
@@ -0,0 +1 @@