[Bug 1449882] Review Request: python-lcm2 - Simplified Python binding to LittleCMS2 library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1449882



--- Comment #6 from Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> ---
(In reply to Ken Dreyer from comment #5)
> (In reply to Luya Tshimbalanga from comment #4)
> > Any suggestion how to properly write %check? Writing the line
> > "%{_python2} setup.py tests/lcms2_testsuite.py" or 
> > "%{_python2} tests/lcms2_testsuite.py" failed as a result
> 
> Try "export PYTHONPATH=$(pwd)" as the first line under %check.

Unfortunately, the result is he same

+ export PYTHONPATH=/home/luya/rpmbuild/BUILD/python-lcms2-0.1
+ PYTHONPATH=/home/luya/rpmbuild/BUILD/python-lcms2-0.1
+ py.test-2 tests/lcms2_testsuite.py
============================= test session starts
==============================
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.33, pluggy-0.3.1
rootdir: /home/luya/rpmbuild/BUILD/python-lcms2-0.1, inifile: 
collected 0 items / 1 errors 

==================================== ERRORS
====================================
__________________ ERROR collecting tests/lcms2_testsuite.py
___________________
tests/lcms2_testsuite.py:18: in <module>
    import lcms2
E   ImportError: No module named lcms2
=========================== 1 error in 0.03 seconds
============================
error: Bad exit status from /var/tmp/rpm-tmp.QmXg4Y (%check)

Not sure what it will take for python to properly import lcms2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux