Fixing setup for launchpad for good.
This commit is contained in:
parent
fe6c805bc7
commit
fec6a6b00a
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -43,7 +43,7 @@ if "PREFIX" not in os.environ and sys.platform == 'linux':
|
||||||
os.environ["PREFIX"] = "/usr/share"
|
os.environ["PREFIX"] = "/usr/share"
|
||||||
except:
|
except:
|
||||||
if ".pybuild" in os.environ["HOME"]: # Launchpad building.
|
if ".pybuild" in os.environ["HOME"]: # Launchpad building.
|
||||||
os.environ["PREFIX"] = "usr/share"
|
os.environ["PREFIX"] = "share"
|
||||||
else:
|
else:
|
||||||
os.environ["PREFIX"] = os.environ["HOME"] + "/.local/share"
|
os.environ["PREFIX"] = os.environ["HOME"] + "/.local/share"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue