New installation process and metadata output #227
Merged
LalithShiyam merged 2 commits intoENHANCE-PET:mainfrom Jan 19, 2026
Merged
New installation process and metadata output #227LalithShiyam merged 2 commits intoENHANCE-PET:mainfrom
LalithShiyam merged 2 commits intoENHANCE-PET:mainfrom
Conversation
setup.py - removed legacy setup.py installation routine and migrated to a modern pyproject.toml-based build system. pyproject.toml - introduced pyproject.toml to configure package metadata and installation (PEP 517/518 compliant). - elevated version to 3.1.3 (was 3.1.2). constants.py - removed obsolete VERSION string; version information now fully handled via MOOSE_VERSION in system.py. system.py - adjusted imports - all previous references to VERSION from constants.py are now replaced with MOOSE_VERSION. - MOOSE_VERSION is now retrieved dynamically from installed package metadata at runtime. - added get_accelerator_information() as the single source of truth for accelerator detection (CUDA, MPS, CPU) including GPU details when available. This can then be used by get_system_information() and check_device() for further processing and acts as single source of truth for both. - added get_system_information() and write_information_json() to prepare a dictionary with basic metadata that can be modified and written with write_information_json() to a desired path. - removed redundant comments moosez.py - all previous references to VERSION from constants.py are now replaced with MOOSE_VERSION - moose_subject() collects now metadata for the subject being processed and writes it in the main moose directory to provide more information on the system and models and their output - removed redundant comments
…OSE version 3.1.4 setup.py - removed legacy setup.py installation routine and migrated to a modern pyproject.toml-based build system. pyproject.toml - introduced pyproject.toml to configure package metadata and installation (PEP 517/518 compliant). - elevated version to 3.1.3 (was 3.1.2). constants.py - removed obsolete VERSION string; version information now fully handled via MOOSE_VERSION in system.py. system.py - adjusted imports - all previous references to VERSION from constants.py are now replaced with MOOSE_VERSION. - MOOSE_VERSION is now retrieved dynamically from installed package metadata at runtime. - added get_accelerator_information() as the single source of truth for accelerator detection (CUDA, MPS, CPU) including GPU details when available. This can then be used by get_system_information() and check_device() for further processing and acts as single source of truth for both. - added get_system_information() and write_information_json() to prepare a dictionary with basic metadata that can be modified and written with write_information_json() to a desired path. - removed redundant comments moosez.py - all previous references to VERSION from constants.py are now replaced with MOOSE_VERSION - moose_subject() collects now metadata for the subject being processed and writes it in the main moose directory to provide more information on the system and models and their output - removed redundant comments
|
@Keyn34 is attempting to deploy a commit to the lalithshiyam's projects Team on Vercel. A member of the Team first needs to authorize it. |
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 commit updates how the package is installed.
pyproject.tomlis now used, andsetup.pyuses the.tomlfile for compatibility. Additionally, a metadata file is now written for each MOOSE run to facilitate easier debugging and further processing.setup.py
pyproject.toml
constants.py
system.py
moosez.py