diff options
author | Olivier Tilloy <osomon@sanctuary> | 2007-12-26 19:39:04 +0100 |
---|---|---|
committer | Olivier Tilloy <osomon@sanctuary> | 2007-12-26 19:39:04 +0100 |
commit | 7fb82328d1edfe56b70c1bbd7f9fa26a31096a7e (patch) | |
tree | 3885d32359edde1d8a1029132a74a6e635f024fe /src | |
parent | 93785e31c810fd96e00dacf46f76e97081adbfcb (diff) | |
download | pyexiv2-7fb82328d1edfe56b70c1bbd7f9fa26a31096a7e.tar.gz |
pyexiv2 will now install in the 'site-packages' python directory. Fixes bug #177249, thanks to a patch provided by Chris Mayo.
Diffstat (limited to 'src')
-rw-r--r-- | src/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript index 744f658..c2280fa 100644 --- a/src/SConscript +++ b/src/SConscript @@ -22,7 +22,7 @@ libpyexiv2 = env.SharedLibrary('libpyexiv2', cpp_sources) # 'scons install'. If DESTDIR is specified on the command line when invoking # scons, it will be prepended to each installed target file. See # http://www.gnu.org/prep/standards/html_node/DESTDIR.html for reference. -python_lib_path = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3]) +python_lib_path = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3], 'site-packages') dest_dir = ARGUMENTS.get('DESTDIR') if (dest_dir is None) or (not os.path.isabs(dest_dir)): install_dir = python_lib_path |