Esempio n. 1
0
def main():
    # TEMP WORKAROUND for Kivy prob.
    os.environ["KIVY_GLES_LIMITS"] = '0'

    if platform.system() == 'Windows':

        # TEST WORKAROUND. SDL2 is supposed to be even better :)
        os.environ['KIVY_AUDIO'] = 'pygame'

    setup_logging()
    import startup
    startup.run()
Esempio n. 2
0
File: apps.py Progetto: Ram81/IDE
from __future__ import unicode_literals

from django.apps import AppConfig

import startup


class KerasAppConfig(AppConfig):
    name = 'keras_app'


startup.run()
Esempio n. 3
0
"""
WSGI config for serverCompras project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""

import os

import startup
from django.core.wsgi import get_wsgi_application
# os.environ.setdefault("DJANGO_SETTINGS_MODULE", "serverCompras.settings")
os.environ["DJANGO_SETTINGS_MODULE"] = "serverCompras.settings"

startup.run()

application = get_wsgi_application()
Esempio n. 4
0
def main():
    run()
Esempio n. 5
0
try:  # Python 2
    from startup import run
except ImportError:  # Python 3
    from .startup import run


def main():
    run()


if __name__ == '__main__':
    run()
Esempio n. 6
0
def main():
    startup.run()