Skip to content

Commit 7ae7baf

Browse files
author
Wouter Van de Pontseele
committed
Added yaml path to work with local setup
1 parent d4a0306 commit 7ae7baf

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

plasma/conf.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@
22
import os
33
import errno
44

5-
print('\nlooking for conf file:')
6-
print(__file__)
7-
print(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'examples/conf.yaml'))
8-
print(os.path.exists(os.path.join(os.path.abspath(
9-
os.path.dirname(__file__)), 'examples/conf.yaml')))
10-
115
conf_file = ''
126
if os.path.exists(os.path.join(os.path.abspath(os.path.dirname(__file__)), '../examples/conf.yaml')):
137
conf_file = os.path.join(os.path.abspath(
148
os.path.dirname(__file__)), '../examples/conf.yaml')
15-
elif os.path.exists(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'examples/conf.yaml')):
16-
conf_file = os.path.join(os.path.abspath(
17-
os.path.dirname(__file__)), 'examples/conf.yaml')
9+
elif os.path.exists('../plasma-python/examples/conf.yaml'):
10+
conf_file = '../plasma-python/examples/conf.yaml'
1811
elif os.path.exists('./conf.yaml'):
1912
conf_file = './conf.yaml'
2013
elif os.path.exists('./examples/conf.yaml'):

0 commit comments

Comments
 (0)