Refactor project configuration #126
Merged
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 modernizes the Python project's configuration by replacing legacy
setup.cfgandsetup.pyfiles with apyproject.tomlfile. This change aligns the project with the latest Python packaging standards (PEP 517/518) and introduces additional metadata and configuration improvements.Migration to
pyproject.toml:setup.cfgandsetup.pyintopyproject.toml, including project name, description, authors, license, dependencies, and optional dependencies. This change simplifies the project's configuration and adheres to modern packaging standards. [1] [2] [3]Dependency Management:
numpy,scipy,casadi, etc.) and optional dependencies (jax,pytorch, etc.) inpyproject.toml. Added a newconversionoptional dependency group and included anallgroup for convenience.Tool Configuration Updates:
isortconfiguration withrufffor linting, aligning with modern Python tooling. Updatedpytestconfiguration to set test paths and options directly inpyproject.toml.Additional Enhancements:
srclayout for package organization, ensuring a clear separation of source code and other files.…o pyproject.toml📚 Documentation preview 📚: https://adam-docs--126.org.readthedocs.build/en/126/