annotate INSTALL.txt @ 224:9d0a19b4518b

o extract_python fixes: - now returns None for non-string arguments - no longer extracts strings from nested function calls refs #38 - use the correct starting line number in multi-line gettext function calls - avoids falsely identifying string keyword arg defaults from function definition names that match a keyword, e.g.: def gettext(foo='bar') - avoid capturing translator comments embedded within a gettext function call - default the file encoding to iso-8859-1 instead of ascii when missing a magic encoding comment, to emulate pre Python 2.5 behavior. Python warns about 'non-ascii' chars when there is no magic encoding comment, but < 2.5 actually treats them as iso-8859-1 for backwards compat (PEP 263). >= 2.5 treats them as strict ascii o extract fixes: - filter out messages that don't contain strings where the keyword specification calls for fixes #39 - filter out empty string messages and emit a warning about them, like xgettext
author pjenvey
date Wed, 18 Jul 2007 00:29:04 +0000
parents 52b98eca619f
children 34c1a971051e
rev   line source
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
1 Installing Babel
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
2 ================
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
4 Prerequisites
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
5 -------------
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
6
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
7 * Python 2.3 or later (2.4 or later is recommended)
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
8 * Optional: setuptools 0.6b1 or later
39
52b98eca619f Add optional pytz dependency to `INSTALL.txt`.
cmlenz
parents: 3
diff changeset
9 * Optional: pytz (strongly recommended for real time-zone support)
3
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
10
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
11
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
12 Installation
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
13 ------------
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
14
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
15 Once you've downloaded and unpacked a Babel source release, enter the
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
16 directory where the archive was unpacked, and run:
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
17
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
18 $ python setup.py install
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
19
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
20 Note that you may need administrator/root privileges for this step, as
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
21 this command will by default attempt to install Babel to the Python
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
22 site-packages directory on your system.
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
23
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
24 For advanced options, please refer to the easy_install and/or the distutils
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
25 documentation:
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
26
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
27 http://peak.telecommunity.com/DevCenter/EasyInstall
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
28 http://docs.python.org/inst/inst.html
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
29
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
30
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
31 Support
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
32 -------
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
33
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
34 If you encounter any problems with Babel, please don't hesitate to ask
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
35 questions on the Babel mailing list or IRC channel:
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
36
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
37 http://babel.edgewall.org/wiki/MailingList
e9eaddab598e Import of initial code base.
cmlenz
parents:
diff changeset
38 http://babel.edgewall.org/wiki/IrcChannel
Copyright (C) 2012-2017 Edgewall Software