idmtools_platform_comps.utils.python_requirements_ac.install_requirements module#

idmtools script to run on Slurm to install python files.

This is part of the RequirementsToAssetCollection tool. This will run on the HPC in an Experiment to install the python requirements as output that will be converted to an AssetCollection later.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.


Install our packages to a local directory.


python_paths – system Python path

Returns: None


Set python to the same dates so we don’t create pyc files with differing dates.

Pyc embed the date, so this is a workaround for that behaviour.


Compile all the python files to pyc.

This is useful to reduce how often this happens since python will be an asset