Skip to content

Conversation

@coketaste
Copy link
Contributor

@coketaste coketaste commented Sep 12, 2025

Motivation

Convert the package of madengine to ready for publishing to PYPI

Technical Details

  • Fix all import paths to be absolute ✅ (Implemented dual import fallback)
  • Add missing dependencies (numpy, pynvml) ✅ (Added to pyproject.toml)
  • Remove pytest from main dependencies ✅ (Moved to dev extras)
  • Add MANIFEST.in for better file control ✅ (Created and tested)
  • Implement lazy database engine loading ✅ (Prevents connection failures)
  • Convert print statements to proper logging ✅ (All db modules updated)
  • Update classifiers and keywords ✅ (Enhanced metadata in pyproject.toml)
  • Test build and installation locally ✅ (Both sdist and wheel install successfully)
  • Verify CLI works after installation ✅ (madengine --help works correctly)
  • Create proper git version tag

Test Plan

Test Result

Submission Checklist

@coketaste coketaste self-assigned this Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants