Remove vendor directory infavor of python module dependencies

This commit is contained in:
Sunil Mohan Adapa 2014-08-30 09:41:47 +05:30
parent e6dbcdccaa
commit 85f02c744e
4 changed files with 0 additions and 16 deletions

6
.gitmodules vendored
View File

@ -1,6 +0,0 @@
[submodule "vendor/withsqlite"]
path = vendor/withsqlite
url = git://github.com/jvasile/withsqlite.git
[submodule "vendor/exmachina"]
path = vendor/exmachina
url = git://github.com/jvasile/exmachina.git

View File

@ -64,13 +64,6 @@ def setup_logging():
cherrypy.log.screen = False
def setup_paths():
"""Setup current directory and python import paths"""
os.chdir(cfg.python_root)
if not os.path.join(cfg.file_root, 'vendor') in sys.path:
sys.path.append(os.path.join(cfg.file_root, 'vendor'))
def setup_server():
"""Setup CherryPy server"""
LOGGER.info('Setting up CherryPy server')
@ -224,8 +217,6 @@ def main():
service.init()
setup_paths()
configure_django()
module_loader.load_modules()

0
vendor/__init__.py vendored
View File

1
vendor/withsqlite vendored

@ -1 +0,0 @@
Subproject commit 3558eaf5e997920da1994aa8f2b52086c0bfbfb4