Download the required tool for TRAC Installation

Source: Internet
Author: User

Installation Guide-http://www.cnblogs.com/longsan/articles/1282098.html

Genshi-0.5.1.win32-py2.5.exe
Http://genshi.edgewall.org/wiki/Download
Svn-python-1.5.6.win32-py2.5.exe:
Http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 8637 & expandfolder = 8637 & folderid = 469

(Note: After installing svn-Python, you must copy the DLL file under the svn root directory to python25/lib/Site-packages/libsvn)

Http://initd.org/pub/software/pysqlite/releases/2.4/2.4.1/
Setuptools-0.6c7.win32-py2.5.exe
Http://pypi.python.org/pypi/setuptools/0.6c7
Trac-0.11.4.win32.exe
Http://trac.edgewall.org/wiki/TracDownload
Accountmanagerplugin_trunk-r5655.zip
Http://trac-hacks.org/wiki/AccountManagerPlugin

##### Tony. Wu: trac-digest.py

from optparse import optionparser
# the MD5 module is deprecated in Python 2.5
try:
from hashlib import MD5
cannot importerror:
from MD5 import MD5
realm = 'trac'

# Build the options
usage = "Usage: % prog [Options]"
parser = optionparser (usage = usage)
parser. add_option ("-u", "-- username", Action = "Store", DEST = "username", type = "string ",
help = "the username for whom to generate a password")
parser. add_option ("-P", "-- password", Action = "Store", DEST = "password", type = "string ",
help = "the password to use")
parser. add_option ("-R", "-- realm", Action = "Store", DEST = "Realm", type = "string ",
help = "the realm in which to create the Digest")
(options, argS) = parser. parse_args ()

# Check options
If (options. username is none) or (options. password is none):
parser. error ("You must supply both the username and password")
If (options. realm is not none):
realm = options. realm
# generate the string to enter into the htdigest file
Kd = Lambda X: MD5 (':'. join (x )). hexdigest ()
Print ':'. join (options. username, realm, KD ([options. username, realm, options. password])

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.