commit c32565621d91931c9fb54fd6927d49a65796f0d9 Author: retoor Date: Sat Nov 23 18:56:52 2024 +0000 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. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72cac1e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +dist +venv diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..57563d9 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +all: build + +build: + pip install build + python -m build . + pip install -e . \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e1021b8 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# dRStats + +## About + +Simple project to determine health of the devrant platform. + + diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..07de284 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..0a9bc1c --- /dev/null +++ b/setup.cfg @@ -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 diff --git a/src/drstats.egg-info/PKG-INFO b/src/drstats.egg-info/PKG-INFO new file mode 100644 index 0000000..fdcf1d4 --- /dev/null +++ b/src/drstats.egg-info/PKG-INFO @@ -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. + + diff --git a/src/drstats.egg-info/SOURCES.txt b/src/drstats.egg-info/SOURCES.txt new file mode 100644 index 0000000..04ca13f --- /dev/null +++ b/src/drstats.egg-info/SOURCES.txt @@ -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 \ No newline at end of file diff --git a/src/drstats.egg-info/dependency_links.txt b/src/drstats.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/drstats.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/src/drstats.egg-info/entry_points.txt b/src/drstats.egg-info/entry_points.txt new file mode 100644 index 0000000..0bd7ff1 --- /dev/null +++ b/src/drstats.egg-info/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +utro = drstats.statistics:rant_stats diff --git a/src/drstats.egg-info/requires.txt b/src/drstats.egg-info/requires.txt new file mode 100644 index 0000000..ae1fd40 --- /dev/null +++ b/src/drstats.egg-info/requires.txt @@ -0,0 +1 @@ +aiohttp>=3.10.10 diff --git a/src/drstats.egg-info/top_level.txt b/src/drstats.egg-info/top_level.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/drstats.egg-info/top_level.txt @@ -0,0 +1 @@ +