liuweireign / wnd-charm

Automatically exported from code.google.com/p/wnd-charm
0 stars 0 forks source link

PyChrm: Add numpy/scipy/matplotlib to list of package dependencies #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Change packager to include these package and their dependencies by default.

Original issue reported on code.google.com by christop...@nih.gov on 18 Jan 2013 at 10:04

GoogleCodeExporter commented 9 years ago
argparse should be included as well.

Original comment by christop...@nih.gov on 18 Jan 2013 at 10:09

GoogleCodeExporter commented 9 years ago
Partially solved by checkin 550-552. However several issues with compiling 
Scipy as part of the Pychrm installation process have cropped up:

1. Compilation of Scipy requires the package "numpy-f2py", a package which 
cannot be installed as a dependency by merely including it in the list of 
PyChrm dependencies. However, it is available in the yum repository and can be 
installed using the command `sudo yum install numpy-f2py`

2. On lgchrm19 there was a Scipy compiler error:
scipy/spatial/qhull/src/mem.h:85: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘ptr_intT’

Again, the work around is to use yum to install the scipy package rather than 
having it be built from source by the PyChrm installer: `sudo yum install scipy`

I removed scipy as a requirement, and a significant subset of PyChrm's 
functionality will run without having Scipy installed. So in the mean time 
users should continue to supplement the PyChrm installation system with their 
OS's package manager systems.

Also removed the "stringformats" monkey patch requirement since all string 
formatting is done using Python 2.6 syntax.

Original comment by christop...@nih.gov on 18 Jan 2013 at 11:18