mirror of
https://github.com/ceph/ceph
synced 2025-03-08 01:10:10 +00:00
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:
parent
88a183bd85
commit
e3ad07ba61
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user