addons-server/services/wsgi/receiptverify.py

14 строки
318 B
Python
Исходник Обычный вид История

2012-04-28 01:57:24 +04:00
import os
import site
wsgidir = os.path.dirname(__file__)
2012-09-22 01:55:15 +04:00
for path in ['../',
2012-04-28 01:57:24 +04:00
'../..',
2012-10-02 20:52:06 +04:00
'../../..',
2012-04-28 01:57:24 +04:00
'../../lib',
'../../vendor/lib/python',
'../../apps']:
site.addsitedir(os.path.abspath(os.path.join(wsgidir, path)))
from verify import application