How to install file on streamlit cloud

I have a streamlit app that I’m trying to run on the cloud, but building it requires running a file rather than just requirements.txt to build the python environment. Is that possible?

I have the same question above plus I need to install a package not on PyPI/Conda but available on GitHub using the line below in my requirements.txt:

How can I go into the folder SomePackage to install the the rest of the dependencies?