pyexiv2 module is not installed

Bug #517536 reported by Xoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyexiv2
Fix Released
High
Xoff

Bug Description

When I tried to install the pyexiv-0.2 branch today it only copied the libexiv2python.so module but not the python files in src/pyexiv2. I turned out that this is because in a variant build the current working directory during installation is "build" and not "src". So, glob('pyexiv2/*.py') cannot find the module files.

The attached patch fixes the problem by simply using the Glob (with an uppercase G) function from scons instead of the standard glob function.

Tags: build

Related branches

Revision history for this message
Xoff (xoff) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for the report Xoff.
Another related issue, the solution of which would fix this problem as a side effect, is that when building pyexiv2 scons doesn't create a symlink to src/pyexiv2 in build/, making it harder to test without installing it.

Changed in pyexiv2:
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
milestone: none → 0.2
status: New → Confirmed
Olivier Tilloy (osomon)
Changed in pyexiv2:
assignee: Olivier Tilloy (osomon) → Xoff (christoph-b3e-net)
status: Confirmed → Fix Committed
Olivier Tilloy (osomon)
Changed in pyexiv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.