set hildon mode from env variable too
This commit is contained in:
parent
69b3a1c83c
commit
cce2ca9965
1 changed files with 3 additions and 2 deletions
5
setup.py
5
setup.py
|
|
@ -67,9 +67,10 @@ if '--xdg' in args and '--no-xdg' in args:
|
|||
print '--xdg and --no-xdg options are incompatible'
|
||||
sys.exit(1)
|
||||
|
||||
if '--hildon' in args:
|
||||
if '--hildon' in args or os.environ.get('HILDON') == 'true':
|
||||
options.hildon = True
|
||||
args.remove('--hildon')
|
||||
if '--hildon' in args:
|
||||
args.remove('--hildon')
|
||||
elif '--no-hildon' in args:
|
||||
options.hildon = False
|
||||
args.remove('--no-hildon')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue