build: Initialize reasoning_gym package structure with packaging and development setup

This commit is contained in:
Andreas Koepf (aider) 2025-01-23 10:50:54 +01:00
parent 530cb523c8
commit 3f80fd7b80
5 changed files with 70 additions and 0 deletions

37
.gitignore vendored
View file

@ -1,2 +1,39 @@
.aider*
.env
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual Environment
venv/
env/
ENV/
# IDE
.idea/
.vscode/
*.swp
*.swo
# Testing
.coverage
htmlcov/
.pytest_cache/

22
pyproject.toml Normal file
View file

@ -0,0 +1,22 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "reasoning_gym"
version = "0.1.0"
authors = [
{ name="GPU Mode Community", email="info@gpumode.com" },
]
description = "A library of procedural dataset generators for training reasoning models"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/gpumode/reasoning_gym"
"Bug Tracker" = "https://github.com/gpumode/reasoning_gym/issues"

View file

@ -0,0 +1,5 @@
"""
Reasoning Gym - A library of procedural dataset generators for training reasoning models
"""
__version__ = "0.1.0"

5
requirements-dev.txt Normal file
View file

@ -0,0 +1,5 @@
pytest>=7.4.0
black>=23.7.0
isort>=5.12.0
flake8>=6.1.0
mypy>=1.5.1

1
tests/__init__.py Normal file
View file

@ -0,0 +1 @@
# Test package initialization