Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3270903
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类: LINUX

2010-12-03 23:22:45

[root@atyu30 wikidbase-1.0.b2]# more INSTALL
#
# Copyright (C) 2007 Nick Blundell.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
# system and in the file COPYING in the Linux kernel source.
#
# INSTALL (INSTALL)
# -----------------
#
# Description:
#
#
# Author       : Nick Blundell
# Organisation :
# Version Info : $Id$
#

Note, this file is aimed at developers.

Dependencies
------------

"python >= 2.6", "django < 1.0","pyparsing","docutils","nbdebug","parsedatetime"

NEW: virtualenv install
======================================

Wikidbase is installed using virtualenv by default, since it currentl depends on
django < 1.0, and you will likely want to install a newer version of django for
other apps.

run sudo setup.py install


DEVELOPMENT/TESTING INSTALLATION
================================

$ cd into the wikidbase source directory

$ sudo python real_setup.py develop

* Edit settings.py to configure the database backend
 * See django docs on how to do this.

* create a cache table.
  $ python wikidbase/manage.py createcachetable wbcache

* Inialise the models in the database
  $ python wikidbase/manage.py syncdb

* Run in Django development server
 $ python wikidbase/manage.py runserver 0.0.0.0:8080

* Access the site through your browser
[root@atyu30 wikidbase-1.0.b2]# python real_setup.py develop
running develop
running egg_info
writing requirements to wikidbase.egg-info/requires.txt
writing wikidbase.egg-info/PKG-INFO
writing top-level names to wikidbase.egg-info/top_level.txt
writing dependency_links to wikidbase.egg-info/dependency_links.txt
reading manifest file 'wikidbase.egg-info/SOURCES.txt'
writing manifest file 'wikidbase.egg-info/SOURCES.txt'
running build_ext
Processing setuptools-0.6c9-py2.4.egg
creating /usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg
Extracting setuptools-0.6c9-py2.4.egg to /usr/lib/python2.4/site-packages
Adding setuptools 0.6c9 to easy-install.pth file
Installing easy_install script to /usr/bin
Installing easy_install-2.4 script to /usr/bin

Installed /usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg
Creating /usr/lib/python2.4/site-packages/wikidbase.egg-link (link to .)
Adding wikidbase 1.0.b2 to easy-install.pth file
Installing wikidbase-admin script to /usr/bin

Installed /opt/upload/python/tool/wikidbase-1.0.b2
Processing dependencies for wikidbase==1.0.b2
Searching for parsedatetime
Reading http:///packages/
Reading
Reading
Reading
Reading
Best match: parsedatetime 0.8.6
Downloading parsedatetime-0.8.6-py2.4.egg
Processing parsedatetime-0.8.6-py2.4.egg
Moving parsedatetime-0.8.6-py2.4.egg to /usr/lib/python2.4/site-packages
Adding parsedatetime 0.8.6 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/parsedatetime-0.8.6-py2.4.egg
Searching for nbdebug
Best match: nbdebug 1.1
Downloading http:///packages/nbdebug-1.1.tar.gz
Processing nbdebug-1.1.tar.gz
Running nbdebug-1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5AobyD/nbdebug-1.1/egg-dist-tmp-__8dKk
zip_safe flag not set; analyzing archive contents...
Adding nbdebug 1.1 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/nbdebug-1.1-py2.4.egg
Searching for docutils
Best match: docutils 0.4
Downloading http:///packages/docutils-0.4.tar.gz
Processing docutils-0.4.tar.gz
Running docutils-0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-TcR949/docutils-0.4/egg-dist-tmp-IhHgzi
"optparse" module already present; ignoring extras/optparse.py.
"textwrap" module already present; ignoring extras/textwrap.py.
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.newlatex2e.__init__: module references __file__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
Adding docutils 0.4 to easy-install.pth file
Installing rst2latex.py script to /usr/bin
Installing rst2pseudoxml.py script to /usr/bin
Installing rst2xml.py script to /usr/bin
Installing rst2s5.py script to /usr/bin
Installing rst2newlatex.py script to /usr/bin
Installing rst2html.py script to /usr/bin

Installed /usr/lib/python2.4/site-packages/docutils-0.4-py2.4.egg
Searching for pyparsing
Best match: pyparsing 1.5.5
Downloading pyparsing-1.5.5.zip
Processing pyparsing-1.5.5.zip
Running pyparsing-1.5.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-iyzFpZ/pyparsing-1.5.5/egg-dist-tmp-7shoHI
zip_safe flag not set; analyzing archive contents...
pyparsing: module MAY be using inspect.stack
pyparsing: top-level module may be 'python -m' script
Adding pyparsing 1.5.5 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/pyparsing-1.5.5-py2.4.egg
Searching for django<1.0
Reading
Reading
No local packages or download links found for django<1.0
error: Could not find suitable distribution for Requirement.parse('django<1.0')

阅读(1611) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~