Move lib/mudpy to mudpy for packaging preparation
authorJeremy Stanley <fungi@yuggoth.org>
Wed, 5 Oct 2016 10:02:35 +0000 (10:02 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Wed, 5 Oct 2016 10:02:35 +0000 (10:02 +0000)
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).

.gitignore
bin/mudpy
mudpy/__init__.py [moved from lib/mudpy/__init__.py with 100% similarity]
mudpy/data.py [moved from lib/mudpy/data.py with 100% similarity]
mudpy/misc.py [moved from lib/mudpy/misc.py with 100% similarity]
mudpy/password.py [moved from lib/mudpy/password.py with 100% similarity]
mudpy/telnet.py [moved from lib/mudpy/telnet.py with 100% similarity]

index 4c982d6..fbfa177 100644 (file)
@@ -1,5 +1,5 @@
 capture_*.log
 data/
-lib/mudpy/__pycache__/
+mudpy/__pycache__/
 test_config.yaml
 var/
index 4d816d0..db4d147 100755 (executable)
--- 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
 
similarity index 100%
rename from lib/mudpy/__init__.py
rename to mudpy/__init__.py
similarity index 100%
rename from lib/mudpy/data.py
rename to mudpy/data.py
similarity index 100%
rename from lib/mudpy/misc.py
rename to mudpy/misc.py
similarity index 100%
rename from lib/mudpy/password.py
rename to mudpy/password.py
similarity index 100%
rename from lib/mudpy/telnet.py
rename to mudpy/telnet.py