Skip to content

Commit e4971e7

Browse files
committed
Added more debug things to the test app
1 parent 4747821 commit e4971e7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tests/testapp/main.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
print('main.py was successfully called')
2+
3+
import os
4+
print('imported os')
5+
6+
print('contents of ./lib/python2.7/site-packages/kivy etc.')
7+
print(os.listdir('./lib'))
8+
print(os.listdir('./lib/python2.7'))
9+
print(os.listdir('./lib/python2.7/site-packages'))
10+
print(os.listdir('./lib/python2.7/site-packages/kivy'))
11+
12+
print('contents of this dir', os.listdir('./'))
13+
14+
with open('./lib/python2.7/site-packages/kivy/app.pyo', 'rb') as fileh:
15+
print('app.pyo size is', len(fileh.read()))
16+
17+
import sys
18+
print('pythonpath is', sys.path)
19+
20+
import kivy
21+
print('imported kivy')
22+
print('file is', kivy.__file__)
23+
124
from kivy.app import App
225

326
from kivy.lang import Builder

0 commit comments

Comments
 (0)