Skip to content

Commit f31c766

Browse files
author
Kasper Peeters
committed
Fix python path in cadabra2 (only relevant on homebrew).
1 parent bee3391 commit f31c766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/cadabra2.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import os
2222
# Make sure we can find the cadabra2 python module; is always
2323
# installed in PYTHON_SITE_PATH
2424
install_prefix=os.path.realpath(sys.argv[0])
25-
install_prefix=install_prefix.replace(os.sep+'bin'+os.sep+'cadabra2', '${CMAKE_INSTALL_PREFIX}/${PYTHON_SITE_PATH}')
25+
install_prefix=install_prefix.replace(os.sep+'bin'+os.sep+'cadabra2', os.sep+'${PYTHON_SITE_PATH}')
2626
# print("Module path ", install_prefix)
2727
sys.path.append(install_prefix)
2828

0 commit comments

Comments
 (0)