Skip to content

Add pyproject.toml for modern Python packaging #257

@bewithgaurav

Description

@bewithgaurav

Describe the enhancement

The mssql-python project currently uses setup.py for packaging configuration. Modern Python packaging standards recommend using pyproject.toml as the primary configuration file for build systems, dependencies, and project metadata. This change would improve maintainability, standardize the build process, and align with current Python packaging best practices.

Benefits of migrating to pyproject.toml

  1. Modern Standard: pyproject.toml is the current standard defined by PEP 518, PEP 621, and PEP 660
  2. Declarative Configuration: Cleaner, more readable configuration format
  3. Tool Integration: Better support for development tools (black, flake8, pytest, mypy, etc.)
  4. Build System Isolation: Proper build dependency specification
  5. IDE Support: Enhanced IDE integration and tooling support

Proposed changes

Referenced from #242 on versioning discussion

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions