Installing Sphinx inside the UV-CDAT (alpha)

Dear All,

I have face a problem that I can not install sphinx inside uv-cdat (alpha) python path.

Also I can not use easy_install of uv-cdat python, since it has some zlib library missing.

I hope uv-cdat team will fix all these issues soon.

Mean while we should learn how to use sphinx for our uv-cdat python modules.

Once we installed the sphinx correctly inside our system python,
then do the following steps.

* we can not install sphinx successfully inside the uv-cdat due to zlib version problem of uv-cdat.

Here is short route to work out the sphinx for uv-cdat modules….

Below is uv-cdat installed path in my machine.

*******************************************************

sys.path.append(‘/opt/uv-cdat/bin/’)
sys.path.append(‘/opt/uv-cdat/lib/python2.7/site-packages’)

*******************************************************

Add the above two sys.path.append lines in the following three system executable python scripts.

$ sudo gedit /usr/local/bin/sphinx-quickstart

$ sudo gedit /usr/local/bin/sphinx-autogen

$ sudo gedit /usr/local/bin/sphinx-build

Thats it.

Here after from the normal system executables sphinx-quickstart, sphinx-autogen, sphinx-build we can generate the sphinx index.html
of our uv-cdat (diagnosis) py modules.

We have to understand that we didnt installed sphinx inside the uv-cdat python path.

We just added the uv-cdat packages path into the system python path, while the above three executables running.

Enjoy.

By,

Arulalan.T
Dated : 13.12.2011

Advertisements

About arulalant

Currently working as "Project Scientist – C" in National Centre for Medium Range Weather Forecasting (NCMRWF), MoES, Noida, India
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s