Exemple #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()
Exemple #2
0
from __future__ import unicode_literals

from django.apps import AppConfig

import startup


class KerasAppConfig(AppConfig):
    name = 'keras_app'


startup.run()
"""
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()
Exemple #4
0
def main():
    run()
Exemple #5
0
try:  # Python 2
    from startup import run
except ImportError:  # Python 3
    from .startup import run


def main():
    run()


if __name__ == '__main__':
    run()
Exemple #6
0
def main():
    startup.run()