On Tue, Jun 4, 2013 at 10:31 AM, Jason Moore <[email protected]> wrote:
> I'm curious what the general practice in SymPy is for external packages. I
> want to include some code that depends on an external package (e.g. NumPy).
> I see the sympy.external.import_module function and have found various uses
> of it. SymPy doesn't seem to require any dependencies but there are a lot of
> import_module calls in the source. Is it ok practice to just add what you
> want?

The general idea is to always allow the sympy test suite to pass
without any dependencies.
And if you depend on numpy, test it in tests like
sympy/external/tests/test_numpy.py.

As to the import_module, I don't know.

Ondrej

>
> Jason
> moorepants.info
> +01 530-601-9791
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to