aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2018-11-05 19:29:49 +0100
committerLuca Weiss <luca@z3ntu.xyz>2018-11-08 17:34:39 +0100
commit59a530d9456351b244ba19b24b2c4bfeaa4207ad (patch)
tree2562b891e36153d77ff421854f3cbf909a2d21c3
parentd17e48ba5fbe194c7a6eadd21fa34af4f82ddfed (diff)
downloadrazer-59a530d9456351b244ba19b24b2c4bfeaa4207ad.zip
razer-59a530d9456351b244ba19b24b2c4bfeaa4207ad.tar.xz
Add the working directory to sys.path to fix out-of-tree builds
Fixes #125
-rw-r--r--ui/setup.py.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/setup.py.in b/ui/setup.py.in
index dd5d7a6..2dccaec 100644
--- a/ui/setup.py.in
+++ b/ui/setup.py.in
@@ -1,5 +1,8 @@
#!/usr/bin/env python3
+import os
+import sys
+sys.path.insert(0, os.getcwd())
from distutils.core import setup
from pyrazer import RAZER_VERSION
bues.ch cgit interface