A requirements.txt file is an inbuilt python file which can contain a series of dependencies (packages that need to be installed). These can then be easily parsed by either pip or anaconda without the need for the user to install a specific set of Spyder packages.
This also gets around the need for __pycache__ files to be committed - these contain cached data, and are generally not included in code, but work to prevent needing to download and install the same package multiple times. Implementing a requirements.txt file would streamline the process for the setting up of a workspace, either locally or on Imperial College London's high-performance computers (HPCs).
A
requirements.txt
file is an inbuilt python file which can contain a series of dependencies (packages that need to be installed). These can then be easily parsed by either pip or anaconda without the need for the user to install a specific set of Spyder packages. This also gets around the need for__pycache__
files to be committed - these contain cached data, and are generally not included in code, but work to prevent needing to download and install the same package multiple times. Implementing arequirements.txt
file would streamline the process for the setting up of a workspace, either locally or on Imperial College London's high-performance computers (HPCs).