Yesterday I did some research on the www and came across two Portable-Python editions which look promising for creating a totally-stand-alone version of Evennia for Windows.
1 — Portable Python
This one comes with an "installer" (which is really just an unpacker with a menu to chose what to extract) a huge load of libraries and some tools (including PyCharm community edition -- a very good Python-specific IDE; and IPython --which is reccomended for Evennia developers).
The created folder is completely stand-alone, can be moved around (change it's location) without breaking it, and doesn't modify any win-registry or environment path. I looked inside the source package at GitHub: the author has setup an automated-scripted working environment which downloads all the Python-related packages, unpacks them, patches them to make them stand-alone, tests them, arranges them in folders, and finally repacks them in an installer with menu. Quite a neat work which lends itself to easy customization and updates.
It can run along with a preexisting Python installation without conflicts. Which is as good and using virtualen in ordinary Python setups.
Latest release comes with Python 2.7.6.1, PyWin32 218, Django 1.6.2 (—this needs to be checked: Evennia requires minimum v1.7, but it should be updatable) and all the pip / easy_install / ecc. / required tools.
The full installation is around 800Mb, there are many things which are not needed to run just Evennia.
I'll give it a try on a PC where I don't have Python preinstalled and see if I can manage to set it up and running with Evennia, strip out all the unneeded stuff and create a zipped folder which could be shared as an "out-of-the-box Evennia for Windows distribution". I could create a GUI interface with some one-click server start/migrate functions, and see if I could also integrate it with a git-like updater for Evennia files within the package.
It looks promising and possible to achieve. I am not in any urgency to get it going (Evennia is working fine right now on my PC) but I'd like to have a copy of Evennia on my netbook without having to install Python.
2 — Python Standalone Distributions (PSD)
This one is more of a bare-bone version in respect to the previous one. It come in two versions: core and complete — the former being really minimalist, the latter being the standalone equivalent of a normal Python installation stripped of all examples, docs, ecc. The idea of this author was to provide a standalone framework to redistribute some Python codes to third parties. For Evennia setup we'd have to go for the "complete edition" because the core edition doesn't have pyWin32!
The latest release come with: Python 2.7.1 + pywin32 r216
So, if the previous project aimed at providing a full (but standalone) Python working environment, this one aims at just supporting execution of Python scripts.
In this respect, both are good candidates for a stand-alone release of Evennia: the first one more aimed at those who want to change Python code in Evennia, the second at those who just want to have Evennia running and connect into it. On the one hand, if one really wants to work with Python code I don't see why he shouldn't install Python; so the second option seems a better candidate. On the other hand, the first package is more user-friendly when it comes to customization.
Python Standalone Distributions (PSD) is much smaller than Portable-Python, but it does need to change some environment variables in the system, and can't be just moved around (not fully standalone, looks like it handles path non-relatively). Also, the author's approach is to work with .bat batch files compiled to .exe and have them associated to the .py extension.
Maybe some simple workaround coulb found as an alternative approach to the author's. In any case both these solutions lend themselves to the creation of an Envennia-Standalone for Windows. I'll give it a try and share my results at some time or another. And if I need help I'll be knocking on this door...
Tristano