[Bug 742388] Review Request: polybori - Framework for Boolean Rings

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

--- Comment #9 from Brendan Jones <brendan.jones.it@xxxxxxxxx> 2011-12-22 20:04:47 EST ---
Sorry I should have been more specific:

fedora16:~ $ grep lib64 /usr/share/polybori/ipbori/ipbori
# Note: ../../lib64/python2.7/site-packages is replaced on installation with
relative path 
export IPBORI_INIT_CMDS="import sys; sys.path.insert(0,
'$PBDIR/../../lib64/python2.7/site-packages');\

There you can see hard coded references to lib64. 

On looking at this, I've also noticed that if you install only polybori and
polybori-libs and try and run this script you get 

Python 2.7.2 (default, Oct 27 2011, 01:40:22) 
Type "copyright", "credits" or "license" for more information.

IPython 0.11 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/home/bsjones/<ipython-input-1-9b992f309336> in <module>()
----> 1 print'';import sys; sys.path.insert(0,
'/usr/share/polybori/../../lib64/python2.7/site-packages');from
polybori.frontend import *; polybori_start(globals())

ImportError: No module named polybori.frontend

So I would think that the script needs to be in whatever package 
polybori.frontend is in (python-polybori). That doesn't leave much left in the
main package so you will need to either add another requires or reconsider the
layout of your subpackages.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]