Hi,

If I run from the build directory, I obtain a
  File "/home/benny/git/fipy/fipy/viewers/__init__.py", line 133, in Viewer
    raise ImportError, "No viewers found. Run `python setup.py egg_info` or
similar."

It seems it is needed to do

python setup.py build egg_info

mv FiPy.egg-info build/lib.linux-x86_64-2.7/

where last dir is changed to your actually build dir

After that fipy is usable via PYTHONPATH, eg

PYTHONPATH=/home/benny/git/fipy/build/lib.linux-x86_64-2.7/ python main.py

I don't like to run the install command myself when working from git. As
the egg_info command adds the egg dir to fipy directory, and not build
directory, is it assumed you should use PYTHONPATH from the git dir itself,
so

PYTHONPATH=/home/benny/git/fipy/ python main.py

which works then? I don't like that that creates all the .pyc files to the
git tree.
Perhaps this could be added INSTALLATION.txt ?

Greetings,
Benny
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to