コード例 #1
0
ファイル: main.py プロジェクト: lsimons/prosthetic-runner
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X
# CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of Philter Phactory Ltd. shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from Philter
# Phactory Ltd..
#

import sys, os
sys.path.insert(0, os.path.join(os.path.dirname(__file__),
                                'django-nonrel.zip'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__),
                                'djangotoolbox.zip'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'html5lib.zip'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'bleach.zip'))

from djangoappengine.boot import setup_env
setup_env()

#noinspection PyUnresolvedReferences
from djangoappengine.main.main import application

if __name__ == '__main__':
    from djangoappengine.main.main import main
    main()
コード例 #2
0
from common import init_environment
from djangoappengine.main import main

main.main()
コード例 #3
0
ファイル: main.py プロジェクト: cassiel/prosthetic-runner
# copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X
# CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# 
# Except as contained in this notice, the name of Philter Phactory Ltd. shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from Philter
# Phactory Ltd..
#

import sys,os
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'django-nonrel.zip'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'djangotoolbox.zip'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'html5lib.zip'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'bleach.zip'))

from djangoappengine.boot import setup_env
setup_env()

#noinspection PyUnresolvedReferences
from djangoappengine.main.main import application

if __name__ == '__main__':
    from djangoappengine.main.main import main
    main()
コード例 #4
0
ファイル: main.py プロジェクト: WAYbetter/waybetter
from common import init_environment
from djangoappengine.main import main
main.main()