On 21/02/14 08:34, Anders Logg wrote:
ok. But still the problem is that _ufc.so is installed directly under
site-packages. I believe it should go into the UFC directory.
Would this diff do the trick?
diff --git setup.py setup.py
index 2d8e9db..60c68d6 100644
--- setup.py
+++ setup.py
@@ -171,7 +171,7 @@ def run_install():
**ext_kwargs)
# Setup extension module for UFC
- ext_module_ufc = Extension("_ufc",
+ ext_module_ufc = Extension("ufc._ufc",
sources=[os.path.join("ufc", "ufc.i")],
swig_opts=["-c++", "-shadow", "-modern",
"-modernargs", "-fastdispatch",
When I install this, it installs the _ufc.so as
PREFIX/lib/python2.7/ufc/_ufc.so.
Best regards,
Patrick
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics