Skip to content

Conversation

@nisarnk
Copy link
Contributor

@nisarnk nisarnk commented Sep 4, 2025

This pull request consolidates project configuration by moving tooling settings from setup.cfg to pyproject.toml.

The primary build logic remains in setup.py to ensure compatibility with complex C extensions. The changes are:

  • Move pytest and versioneer Configuration: The [tool:pytest] and [versioneer] sections have been moved to their correct locations in pyproject.toml under [tool.pytest.ini_options] and [tool.versioneer], respectively.

  • Remove Obsolete Sections: The now-empty [tool:pytest] and [versioneer] sections have been removed from setup.cfg.

  • Centralize Build Dependencies: Build dependencies are now explicitly defined in pyproject.toml's [build-system] table.

This change streamlines the configuration, making it easier to manage the project and aligning it with modern Python development practices without breaking the existing build process.

This version is tagged as v1.0.0, indicating a major release with significant changes from the previous version, v0.2.1. The jump from 0.x to 1.x signifies a stable and ready-for-production release.

… is no longer necessary.

[egg_info]
tag_build =
tag_svn_revision = 1
[versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "csxtools/_version.py"
versionfile_build = "csxtools/_version.py"
tag_prefix = "v"

and following is added to pyproject.toml

[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "csxtools/_version.py"
versionfile_build = "csxtools/_version.py"
tag_prefix = "v"
parentdir_prefix = "csxtools-"
@ambarb ambarb merged commit 3a7071e into NSLS-II-CSX:master Sep 17, 2025
16 checks passed
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