ENH: added _debug_info function. #123

Merged
merged 1 commit into from Feb 12, 2014

Conversation

Projects
None yet
1 participant
Member

jjhelmus commented Feb 12, 2014

  • The _debug_info function can be used to check on dependencies, versions
    and if RSL is installed and linked to Py-ART.
ENH: added _debug_info function.
* The _debug_info function can be used to check on dependencies, versions
  and if RSL is installed and linked to Py-ART.
Member

jjhelmus commented Feb 12, 2014

@scollis This should be very useful for debugging installs. For example:

In [1]: import pyart

In [2]: pyart._debug_info()
Py-ART version: 1.0.0.dev-f30f39d

---- Dependencies ----
Python version: 2.7.6
NumPy version: 1.8.0
SciPy version: 0.13.0
matplotlib version: 1.3.0
netCDF4 version: 1.0.6

---- Optional dependencies ----
TRMM RSL version: v1.44
CyLP: Available
PyGLPK version: 4.45
CVXOPT version: 1.1.5
basemap version: 1.0.7
nose version: 1.3.0

You can also run the file as a script before installing to check out dependencies although RSL will also show up as MISSING.

jjhelmus added a commit that referenced this pull request Feb 12, 2014

Merge pull request #123 from jjhelmus/master
ENH: added _debug_info function.

@jjhelmus jjhelmus merged commit 0e4ce70 into ARM-DOE:master Feb 12, 2014

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment