Package the daemon executable as an entrypoint Move the daemon executable into the Python package and define an entrypoint for it in setup.cfg so a similar `mudpy` executable will still be installed. Drop the unnecessary import path override now while at it.
Make the executable importable In preparation for moving the executable to an more standard entrypoint, make it safely importable and give it a separate conditional main() execution.
Move lib/mudpy to mudpy for packaging preparation Move the lib/mudpy tree to just mudpy where it will ultimately reside once integrated into a Python package. Temporarily adjust the module search path addition in the executable until packaging work is complete (at which point it can safely be dropped).
Explicitly invoke Python 3.x in shebang lines Since the codebase relies on Py3K-only syntax in places, explicitly invoke the python3 interpreter rather than expecting the environment's primary interpreter to support Python 3.x code.
Remove UTF-8 encoding header from Python files The Python 3.x interpreter assumes source files are in UTF-8 by default, so file encoding headers are no longer necessary. Get rid of them.
Clean up parenthetical spacing in bin/mudpy For better PEP-8 conformance, correct parenthetical spacing in the bin/mudpy file.
Clean up imports Group all imports at the tops of files and alphabetize, for ease of maintainabiity.
The reload function is in the imp module * bin/mudpy * lib/mudpy/__init__.py: For Py3K compatibility, only invoke the reload function from the imp module rather than the global built-in namespace.
Use strings not unicode in daemon executable * bin/mudpy: Python 3000 treats strings as unicode by default, so we should too.
PEP 8 conformance for daemon executable script * bin/mudpy: Conform to the PEP 8 style guide.
Annual copyright update. * (all): Updated copyright notices for 2010.
Imported from archive. * LICENSE: Moved to doc subdirectory, indicating it's a documentation file. * archetype, command, menu: Moved to share subdirectory, indicating it's generally read-only data. Also appended .mpy extention to file names, to indicate they're mudpy data. * banner.txt, login.txt, mudpy.conf: Moved to etc subdirectory, indicating they're generally hand-edited configuration data. * lib/mudpy/__init__.py: Created a new Python module package, to begin the process of splitting up the old monolithic module. * mudpy: Moved to bin subdirectory, indicating it's directly executable. * mudpy.conf (__control__, internal:storage), mudpy.py (DataFile.load, find_file, replace_macros): New functionality allows arbitrary location of data files from relative or absolute paths out of a prioritized series of potential directory trees. * mudpy.conf (internal:network): Changed host to the IPv6 localhost address of ::1 instead of the old IPv4 127.0.0.1 equivalent. * mudpy.py: Renamed to misc.py and added to the new lib/mudpy Python module package. (Universe.initialize_server_socket): If local IPv6 support is present default to listening on ::, otherwise fall back to 0.0.0.0 like before. (command_say): Instead of denying parameters which look like replacement macros, they are simply escaped before being processed. Messages enclosed in quotation marks no longer get language fix-ups applied. Fixed a bug where a type exception could be triggered if an actor provided parameters to the say command which evaluated to an empty string; reported by Mark Kolloros, a.k.a. Colourful. * sample/index: Renamed to __init__.mpy in an effort to emulate Python module package structure for groups of mudpy data files. * sample/location, sample/prop: Appended .mpy extention to file names, to indicate they're mudpy data.