There used to be standalone Spyder distribution, but that was discontinued a while ago since it was a lot of work to maintain and users generally need an environment like Anaconda, WinPython, etc. to work in anyway. As for creating a standalone executable from your own code, one generally uses specialized tools for that, like PyInstaller. Here
's a basic guide that might be helpful.