diff --git a/scour.py b/scour.py new file mode 100644 index 0000000..39b469b --- /dev/null +++ b/scour.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# Scour module wrapper script +# +# Copyright 2015 Eduard Braun +# +# This file is part of Scour, http://www.codedread.com/scour/ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This file is a wrapper script around the actual Scour module (scour.py in scour folder) +# It allows execution of Scour without installation of the module. + +from scour import scour +scour.run() \ No newline at end of file diff --git a/scour/scour.py b/scour/scour.py index cd6795b..3414fc6 100644 --- a/scour/scour.py +++ b/scour/scour.py @@ -3280,8 +3280,3 @@ def start(options, input, output): def run(): options, (input, output) = parse_args() start(options, input, output) - - - -if __name__ == '__main__': - run()