bin/iro-install
branchdevel
changeset 294 0e75bd39767d
parent 284 f3be8a77b3e2
equal deleted inserted replaced
293:60588ae12c92 294:0e75bd39767d
     1 #!/usr/bin/env python2.7
     1 #!/usr/bin/env python2.7
       
     2 
       
     3 # Copyright (c) 2012 netzguerilla.net <iro@netzguerilla.net>
       
     4 # 
       
     5 # This file is part of Iro.
       
     6 # 
       
     7 # Permission is hereby granted, free of charge, to any person obtaining a copy of
       
     8 # this software and associated documentation files (the "Software"), to deal in
       
     9 # the Software without restriction, including without limitation the rights to use,
       
    10 # copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
       
    11 # #Software, and to permit persons to whom the Software is furnished to do so,
       
    12 # subject to the following conditions:
       
    13 # 
       
    14 # The above copyright notice and this permission notice shall be included in
       
    15 # all copies or substantial portions of the Software.
       
    16 # 
       
    17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
       
    18 # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
       
    19 # PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
       
    20 # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
       
    21 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
       
    22 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
       
    23 
     2 from twisted.python import log
    24 from twisted.python import log
     3 
    25 
     4 from sqlalchemy import create_engine, pool
    26 from sqlalchemy import create_engine, pool
     5 from sqlalchemy.exc import ArgumentError
    27 from sqlalchemy.exc import ArgumentError
     6 import sys,os
    28 import sys,os