Hi,
I am developing a Package under PyDy,  for GSoC.
This is my directory structure.

pydy/
--------- __init__.py
---------pydy_viz/
                    -----------------__init__.py
                    --------------shapes.py
                    --------------tests\
                                    -----------__init__.py
                                    -----------test_shapes.py

Now I am trying to import pydy_viz.shapes from inside tests, i.e from
test_shapes.py

I have tried both approaches.
from pydy_viz.shapes import *
Error: No module named pydy_viz.shapes
and relatively ..

from ..shapes import *
Error: tried relative imports from non-package.

but I am not able to import it.
Any ideas what I might be doing wrong.
I dont have a setup.py file in place for now.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to