new updating scheme, based on GH downloads; also, check if not updateable (pip installed)

This commit is contained in:
Filippo Valsorda 2012-12-08 00:48:07 +01:00
parent 4c1d273e88
commit 5a304a7637
2 changed files with 47 additions and 20 deletions

View file

@ -7,6 +7,7 @@
import sys
if __package__ is None and not hasattr(sys, "frozen"):
# direct call of __main__.py
import os.path
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))