Skip to content

Commit

Permalink
fix: fix the version file (#2336)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Updated version management configuration to use a new version tracking
file.
- Modified build system settings to include the new version tracking
file in source distribution.
- Enhanced testing commands to include version information alongside
help command.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
njzjz authored Jan 26, 2025
1 parent 546d515 commit 36fa554
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ docs = [
minimum-version = "0.9"
wheel.py-api = "cp37"
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["reacnetgenerator/_version.py"]
sdist.include = ["reacnetgenerator/_version2.py"]
sdist.exclude = ["reacnetgenerator/static/webpack/"]
cmake.version = ">=3.26"

Expand All @@ -112,7 +112,10 @@ write_to = "reacnetgenerator/_version2.py"
fallback_version = "Unknown"

[tool.cibuildwheel]
test-command = "reacnetgenerator -h"
test-command = [
"reacnetgenerator -h",
"reacnetgenerator --version",
]
build = ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
skip = ["*-win32", "*-manylinux_i686", "*-musllinux*"]
# wait for openbabel
Expand Down

0 comments on commit 36fa554

Please sign in to comment.