Move the pythonpath fiddling to the test runner

instead of including it in every test
This commit is contained in:
Joe Rickerby
2019-04-22 23:13:34 +01:00
parent 8b632bcb6d
commit 857aafbd3f
9 changed files with 27 additions and 19 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
import subprocess, sys, os
from glob import glob
project_dir = os.path.dirname(__file__)
sys.path.append(os.path.join(os.path.dirname(project_dir), 'shared'))
import utils
def test():
project_dir = os.path.dirname(__file__)
# build the wheels
subprocess.check_call([sys.executable, '-m', 'cibuildwheel', project_dir])