On 06/28/2010 05:45 PM, Chris Lumens wrote:
-from pyanaconda import _isys
+try:
+ from pyanaconda import _isys
+except ImportError:
+ # We're running in some sort of testing mode, in which case we can fix
+ # up PYTHONPATH and just do this basic import.
+ import _isys
+
A chance of fixing the test environment sometime?
The problem is that in your git checkout, the built _isys.so ends up in
pyanaconda/isys/.libs, which we can't really work into the python path
somehow.
Oh, thats true, thanks for explaining.
> Well, I guess we could through a system of gross build system
hacks but I like that even less than what I did up there.
I agree. This is at least something we understand and can see.
Ales
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list