From: Jeremy Stanley Date: Wed, 5 Oct 2016 10:02:35 +0000 (+0000) Subject: Move lib/mudpy to mudpy for packaging preparation X-Git-Tag: 0.0.1~178 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=91f6b37e5fc36953cc1f3150695382d0822b0672;p=mudpy.git 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). --- diff --git a/.gitignore b/.gitignore index 4c982d6..fbfa177 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ capture_*.log data/ -lib/mudpy/__pycache__/ +mudpy/__pycache__/ test_config.yaml var/ diff --git a/bin/mudpy b/bin/mudpy index 4d816d0..db4d147 100755 --- a/bin/mudpy +++ b/bin/mudpy @@ -9,7 +9,7 @@ import imp import os import sys -sys.path.append(os.path.realpath("lib")) +sys.path.append(os.path.realpath(".")) import mudpy diff --git a/lib/mudpy/__init__.py b/mudpy/__init__.py similarity index 100% rename from lib/mudpy/__init__.py rename to mudpy/__init__.py diff --git a/lib/mudpy/data.py b/mudpy/data.py similarity index 100% rename from lib/mudpy/data.py rename to mudpy/data.py diff --git a/lib/mudpy/misc.py b/mudpy/misc.py similarity index 100% rename from lib/mudpy/misc.py rename to mudpy/misc.py diff --git a/lib/mudpy/password.py b/mudpy/password.py similarity index 100% rename from lib/mudpy/password.py rename to mudpy/password.py diff --git a/lib/mudpy/telnet.py b/mudpy/telnet.py similarity index 100% rename from lib/mudpy/telnet.py rename to mudpy/telnet.py