phil-sandwell / CLOVER

CLOVER minigrid simulation and optimisation for supporting rural electrification in developing countries
MIT License
9 stars 10 forks source link

Introduce requirements.txt file #38

Closed BenWinchester closed 3 years ago

BenWinchester commented 3 years ago

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).