sunpy / sunpy

SunPy - Python for Solar Physics
http://www.sunpy.org
BSD 2-Clause "Simplified" License
917 stars 588 forks source link

Clarify dependencies and Python version required #309

Closed astrofrog closed 11 years ago

astrofrog commented 12 years ago

I have a couple of questions regarding dependencies (in the context of package managers). First, in the SunPy docs, there are some dependencies listed (see http://www.sunpy.org/download/), but the list is not exactly the same as that in requirements.txt which is used for a pip-based install, also it is different that the one in tox.ini used by jenkins and setup.py

Could you clarify which dependencies are absolutely necessary for building and using Sunpy, as opposed to which ones are optional?

In addition, is SunPy compatible with Python 3? I noticed that configobj is in requirements.txt but I'm not sure if there is a Python 3 version available, so does this make SunPy Python 3 incompatible for now, or can it function without configobj?

Cadair commented 12 years ago

I think that the main block on Sunpy's python 3 compatibility is matplotlib?

ayshih commented 12 years ago

Okay, I've spent a lot of time this week investigating dependencies. From the current installation procedure and code inspection, packages can be divided into 3 classes:

Essential

Recommended

Optional

Conclusion

My suggestions:

astrofrog commented 12 years ago

@ayshih - thanks for clarifying this. I will update the MacPorts portfile to reflect this.

ayshih commented 12 years ago

I have updated the list: pandas is now "essential" (rather than "recommended"). Even though it is localized to sunpy.lightcurve, it is probably too fundamental to SunPy to not be required.

I am going to go ahead and edit setup.py to remove suds and beautifulsoup4 from the requirements.

Cadair commented 12 years ago

Albert, has this now been wrapped up???

Cadair commented 11 years ago

Closed by #504