The mudpy project aims to create a simple, generic, cross-platform,
freely-redistributable MUD core engine which can be easily understood
and extended. It is written in pure Python (currently compatible with
-3.3 and later versions) and has only pure Python dependencies. All
+3.4 and later versions) and has only pure Python dependencies. All
configuration and data are stored in consistently-formatted plain text
(YAML 1.1) files for ease of administration. The core engine is
unicode-clean internally and supports UTF-8 encoding for input and
# to use, copy, modify, and distribute this software is granted under
# terms provided in the LICENSE file distributed with this software.
-import sys
+import importlib # noqa (referenced via exec of string literal below)
import mudpy # noqa (referenced via exec of string literal below)
-if sys.version_info >= (3, 4):
- import importlib # noqa (referenced via exec of string literal below)
-else:
- # Python 3.3 lacks importlib.reload()
- import imp as importlib # noqa (referenced via exec of string literal)
-
def load():
"""Import/reload some modules (be careful, as this can result in loops)."""
# terms provided in the LICENSE file distributed with this software.
# core objects for the mudpy engine
+import importlib
import sys
import mudpy
-if sys.version_info >= (3, 4):
- import importlib
-else:
- # Python 3.3 lacks importlib.reload()
- import imp as importlib
-
def main():
Operating System :: Unix
Programming Language :: Python
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6