i need to run a python script on any arbitrary server and don't want to do an actual installation. i figured i could do a clean install on my machine and install whatever libraries would be needed, then zip them all up for remote deployment. to avoid bloating, i am wondering which files i can safely omit.
On Tue, Mar 15, 2011 at 8:48 PM, Katie T <ka...@coderstack.co.uk> wrote: > > On Tue, Mar 15, 2011 at 8:58 PM, davidj411 <davidj...@gmail.com> wrote: > >> it seems that if I copy the python.exe binary and the folders >> associated with it to a server without python, i can run python. >> does anyone know which files are important to copy and which can be >> omitted? >> >> i know about py2exe and have had no luck with it. > > > What's the reason for wanting to avoid installing Python? - are you just > trying to save disk space? > > If it's a case of not having admin rights, you can just copy the Python > directory, I don't believe it has any dependencies anywhere else. > > Katie > -- > CoderStack > http://www.coderstack.co.uk > The Software Developer Job Board >
-- http://mail.python.org/mailman/listinfo/python-list