[Bug 467655] Review Request: yafaray - a raytracer for Blender.

[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=467655





--- Comment #24 from Paulo Roma Cavalcanti <roma@xxxxxxxxxxx>  2008-10-31 12:13:38 EDT ---
(In reply to comment #23)
> I've just received few advices from #blendercoders
> I think we shouldn't duplicate code from how python module, and 'try to'
> consider yafaray blender dso and python script as usual python modules...
> (using python-site-arch directory for arch dependant code).

Hi,

I updated the spec and the .src.rpm. I also created yafaray-snapshot.sh
based on dirac-snapshot. I put the script in the doc section of the package.


Regarding your last comment, the problem is that

/usr/share/blender/scripts/yafrayinterface.py

imports _yafrayinterface.so, via swig:

------------------------------------

# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.33
#
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import _yafrayinterface

------------------------------------

The only way (I see) for not having _yafrayinterface.so in the same directory
of the script (/usr/share/blender/scripts) is to use:

import sys
sys.path.append ("/usr/lib64/blender/plugins/yafaray")
import _yafrayinterface

or whatever location we put the shared library.

Therefore, I will have to patch the script ... (but it works).

-- 
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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

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