refactor for pypi #8
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 refactors dependency management in
pyproject.tomland cleans up unused imports in the codebase. The main changes involve moving several dependencies out of the main install requirements and organizing them into optional dependency groups, which improves maintainability and installation flexibility. Additionally, unused imports are removed from two Python files.Dependency Management Improvements:
wheel,jinja2,sphinx,recommonmark,sphinx-rtd-theme,control,fluids,CoolProp,sectionproperties,PyNiteFEA, andexpiringdict) from the maindependencieslist inpyproject.tomlto new optional dependency groups:dev,eng, andgoogle. This streamlines the default installation and makes it easier to install only what's needed for development, engineering, or Google integration. [1] [2] [3]Code Cleanup:
expiringdict,attr,attrs) fromengforge/dynamics.pyandengforge/problem_context.py, reducing clutter and potential confusion. [1] [2]General Dependency Updates:
virtualenvandwheelfrom the main dependencies, now only included in thedevoptional group. [1] [2]These changes make the project easier to maintain and customize for different use cases.