More topology handling.

This commit is contained in:
Niels Müller
2016-11-09 12:57:49 +01:00
parent 108200cea8
commit b0bc90fa6c
3 changed files with 47 additions and 10 deletions

View File

@ -22,11 +22,11 @@ if 'gromacs' in os.environ.get('LD_LIBRARY_PATH', ''):
if 'gromacs' in p:
library_dirs.append(p)
lib = p
gmx_root = lib.split('lib')[0]
include = os.path.join(gmx_root, 'include')
if os.path.exists(include):
include_dirs.append(include)
check_header_version(include)
gmx_root = lib.split('lib')[0]
include = os.path.join(gmx_root, 'include')
if os.path.exists(include):
include_dirs.append(include)
check_header_version(include)
extensions = [
Extension(