ceph.in: fix python libpath for automake as well

Follow-on to a041e5c941
due to confusion from .pyc files hanging around.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
Josh Durgin 2016-03-29 11:18:26 -07:00
parent 88a183bd85
commit e3ad07ba61

View File

@ -79,8 +79,8 @@ if MYDIR.endswith('src') and \
os.path.exists(os.path.join(MYDIR, 'pybind')) and \
os.path.exists(os.path.join(MYDIR, 'build')):
respawn_in_path(os.path.join(MYDIR, '.libs'), "pybind",
get_pythonlib_dir())
python_libpath = os.path.join(MYDIR, 'build', get_pythonlib_dir())
respawn_in_path(os.path.join(MYDIR, '.libs'), 'pybind', python_libpath)
if os.environ.has_key('PATH') and MYDIR not in os.environ['PATH']:
os.environ['PATH'] += ':' + MYDIR