Commit ab05fbd8 authored by Michael Salim's avatar Michael Salim
Browse files

major reorganization; added setuptools and sphinx docs folder

parent 75d8ac3b
......@@ -2,7 +2,7 @@ from django.conf.urls import url
import logging
logger = logging.getLogger(__name__)
from argo import views
from balsam.argo import views
local_urlpatterns = [
url(r'^$', views.index, name='index'),
......
import os,logging,sys
from django.shortcuts import render,get_object_or_404
from argo.html_forms import JobDisplayForm
from balsam.argo.html_forms import JobDisplayForm
logger = logging.getLogger(__name__)
from argo import models
from balsam.argo import models
# Create your views here.
......
from common.file_tools import delete_old_files_directories
from balsam.common.file_tools import delete_old_files_directories
import time
class DirCleaner:
......
from common import PikaMessageInterface, NoMessageInterface
from balsam.common import PikaMessageInterface, NoMessageInterface
from django.conf import settings
import logging,sys,multiprocessing,time,os
logger = logging.getLogger(__name__)
......
......@@ -3,7 +3,7 @@ import time
import threading
logger = logging.getLogger(__name__)
from common import MessageInterface
from balsam.common import MessageInterface
class NoMessageInterface(MessageInterface.MessageInterface):
......
......@@ -5,7 +5,7 @@ import logging
logger = logging.getLogger(__name__)
logging.getLogger('pika').setLevel(logging.WARNING)
from common import MessageInterface
from balsam.common import MessageInterface
class PikaMessageInterface(MessageInterface.MessageInterface):
......
......@@ -2,8 +2,8 @@ import multiprocessing,logging
logger = logging.getLogger(__name__)
from django.db import utils,connections,DEFAULT_DB_ALIAS
from balsam import QueueMessage
from common import db_tools
from balsam.service import QueueMessage
from balsam.common import db_tools
class TransitionJob(multiprocessing.Process):
''' spawns subprocess which finds the DB entry for the given id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment