Skip to content

Conversation

@yurekami
Copy link
Contributor

Summary

This PR adds a pyproject.toml file to address #207 (Missing build requirements documentation).

Changes:

  • Added pyproject.toml specifying build-system requirements per PEP 518
  • Build dependencies: setuptools>=61.0, wheel, torch>=2.0.0, packaging
  • Project metadata including description, authors, Python version requirements, and classifiers
  • Dynamic version reading from deep_gemm.__version__
  • Package data configuration for include files

Benefits

  1. PEP 518 Compliance: Modern packaging tools (pip, build, poetry) expect pyproject.toml for build isolation
  2. Build Reproducibility: Explicit build requirements ensure consistent builds across environments
  3. Better Discovery: Enhanced metadata improves package discoverability on PyPI
  4. Future-proof: setup.py is being phased out in favor of declarative pyproject.toml

Test Plan

  • Verify pip install . works correctly with build isolation
  • Verify python -m build produces correct wheel
  • Verify existing setup.py functionality remains intact

Fixes #207

🤖 Generated with Claude Code

This adds a pyproject.toml file to specify build-system requirements,
addressing the issue of missing build requirements documentation.

The pyproject.toml specifies:
- Build dependencies: setuptools, wheel, torch, packaging
- Project metadata including description, authors, classifiers
- Dynamic version reading from deep_gemm.__version__
- Package data configuration for include files

This enables proper isolation of build dependencies and makes the
package compatible with modern Python packaging tools (pip, build, etc.)
that expect PEP 518 compliance.

Fixes deepseek-ai#207

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

Missing build requirements for 2.1.0 release package

1 participant