update shared path, add unrar

This commit is contained in:
j 2019-01-29 16:11:35 +05:30
commit 3ec0930f52
3 changed files with 11 additions and 1 deletions

View file

@ -17,6 +17,9 @@ if sys.platform == 'win32':
site.addsitedir(site_packages)
sys.path.append(join(base, 'platform_win32'))
os.environ['oxCACHE'] = join(base, 'data', 'ox')
unrar_dll = join(base, 'platform_win32', 'unrar.dll')
if os.path.exists(unrar_dll):
os.environ['UNRAR_LIB_PATH'] = unrar_dll
import api
import commands