mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
Remove vendor directory infavor of python module dependencies
This commit is contained in:
parent
e6dbcdccaa
commit
85f02c744e
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -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
|
||||
@ -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
0
vendor/__init__.py
vendored
1
vendor/withsqlite
vendored
1
vendor/withsqlite
vendored
@ -1 +0,0 @@
|
||||
Subproject commit 3558eaf5e997920da1994aa8f2b52086c0bfbfb4
|
||||
Loading…
x
Reference in New Issue
Block a user