In hermes, we used pipreqs to generate a requirements.txt file that was then packed into the .ms (zip) file. This no longer appears to be happening in Compiler.java.
# Generate requirements.txt inside the python directory
os.system("cd ./python; pipreqs . --force")
# Add requirements.txt to the zip, under the new directory
zf.write("./python/requirements.txt", arcname=f"./requirements.txt")
In hermes, we used pipreqs to generate a requirements.txt file that was then packed into the .ms (zip) file. This no longer appears to be happening in Compiler.java.