src/setup.py
changeset 179 e7c7e6e0a8bc
parent 175 6fcda59daff8
child 188 00cf90eb0f5a
equal deleted inserted replaced
178:89d8432aad9f 179:e7c7e6e0a8bc
   113 
   113 
   114 
   114 
   115     root_dir = os.path.dirname(__file__)
   115     root_dir = os.path.dirname(__file__)
   116     if root_dir != '':
   116     if root_dir != '':
   117         os.chdir(root_dir)
   117         os.chdir(root_dir)
   118     source_dirs = ['irinotes', 'notes']
   118     source_dirs = ['irinotes', 'notes', 'protocols']
   119 
   119 
   120     version_variables = {}
   120     version_variables = {}
   121     try:
   121     try:
   122         with open(os.path.join(source_dirs[0], "__init__.py")) as f:
   122         with open(os.path.join(source_dirs[0], "__init__.py")) as f:
   123             code = compile(f.read(), "__init__.py", 'exec')
   123             code = compile(f.read(), "__init__.py", 'exec')