在 OSX中安装satchmo

参考Windows的安装方法
1.安装"其它软件"
其中:
Python Imaging Library,Python cryptography toolkit,docutlis都可以在Fink中抓到相应的包为:pil-py25,pycrypto-py25,docutlis-py25
2.剩下的自己下包回来
3.将satchmo里头的 settings-customize.py,local_settings-customize.py 复制到myapp 下覆盖 settings.py,local_settings.py
4.运行
python manage.py satchmo_copy_urls
python manage.py satchmo_copy_static
python manage.py satchmo_copy_templates
开始是报错 Error: No module named comment_utils
然后从 http://code.google.com/p/django-comment-utils/downloads/list 下载回comment-utils 安装
错误又变成 Error: cannot import name newforms (郁闷)

之前satchmo版本太低,推到重来
1.新建一个satchmo 目录
2.svn co svn://satchmoproject.com/satchmo/trunk  检出最新的 satchmo
3.下载 http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c9.tar.gz#md5=3864c01d9c719c8924c455714492295e 安装 easy_install
4.
easy_install PIL
easy_install pycropto
easy_install http://code.enthought.com/enstaller/eggs/rhel/3/Reportlab-2.1.0001-py2.5.egg
easy_install django-registration
easy_install http://tinyforge.org/frs/download.php/1/trml2pdf.tar.gz
easy_install PyYAML
6.
easy_install docutils
easy_install elementtree
据说可选,一起装了
7.剩下的就跟windows的一样了

你可能感兴趣的:(windows,python,django,SVN,osx)