first set up of pyprojetc.toml and corresponding action#49
Merged
Conversation
Signed-off-by: krd2rng <DanielChristopher.Kreuter@bosch.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes several important updates to the package's build system, packaging configuration, and documentation. The main focus is migrating from legacy
setup.cfg/setup.pyconfiguration to a modern, PEP 621-compliantpyproject.toml-based setup, as well as improving the CI workflow for building and publishing the package. Additionally, there are minor docstring and code style improvements in the DeepONet data loader.Build system and packaging modernization:
setup.cfgtopyproject.toml, adopting the PEP 621 standard for specifying project metadata, dependencies, optional dependencies, and build system requirements. This simplifies and modernizes the package configuration. [1] [2]setup.pyto a minimal file that just callssetuptools.setup(), removing PyScaffold-specific logic and error handling.Continuous Integration and Deployment improvements:
.github/workflows/pypi-deploy.yml:ci-debug,master, anddevelopbranches.cibuildwheel.python -m build.Code and documentation improvements:
src/torchphysics/utils/data/deeponet_dataloader.pyfor clarity, formatting, and minor typo corrections. [1] [2] [3] [4] [5] [6] [7]These changes collectively modernize the project's packaging and deployment, improve cross-platform support, and enhance code readability and maintainability.