How to install setup.py file on streamlit cloud

I have a streamlit app that I’m trying to run on the cloud, but building it requires running a setup.py 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:
git+https://github.com/SomePackage#egg=SomePackage

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