re-arrange modules, preparing for python-package-index

This commit is contained in:
2014-12-19 00:28:47 +01:00
parent 54ef179788
commit 871600312c
31 changed files with 37 additions and 332 deletions

View File

@@ -26,7 +26,7 @@ if VERBOSE:
# Ensure module path
import os
import sys
path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "client", "cli"))
path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
if path not in sys.path:
sys.path.append(path)
del os, sys, path
@@ -234,7 +234,7 @@ def svn_repo_checkout(repo, path):
def bam_run(argv, cwd=None):
with CHDir(cwd):
import bam
import bam.cli
if VERBOSE:
sys.stdout.write("\n running: ")
@@ -246,7 +246,7 @@ def bam_run(argv, cwd=None):
# input('press_key!:')
with StdIO() as fakeio:
bam.main(argv)
bam.cli.main(argv)
ret = fakeio.read()
if VERBOSE: