main.py 691 Bytes
Newer Older
1 2 3 4 5 6
'''
Root Kivy Application
'''
from kivy.app import App
from kivy.config import Config

7 8 9
from settings import initializing_database
from modules.signup.signup import SignUp
from modules.dashboard.dashboard import Dashboard
10 11 12 13 14 15 16 17


class NewContributorWizard(App):
    '''
    Declaration of Root Kivy App which contains Root Widget
    '''

    def build(self):
18
        self.load_kv('./ui/main.kv')
19 20 21

if __name__ == '__main__':
    '''
22 23 24 25 26 27
    Setting up things
    '''
    initializing_database()

    '''
    Fixing touch issue with some platforms
28
    '''
29
    Config.set('input', 'mouse', 'mouse')
30 31 32 33 34

    '''
    Running Kivy application and building root Widget
    '''
    NewContributorWizard().run()