File: INSTALL.txt

package info (click to toggle)
python-mechanize 0.1.7b-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,108 kB
  • ctags: 1,507
  • sloc: python: 11,074; makefile: 63; sh: 12
file content (83 lines) | stat: -rw-r--r-- 2,180 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
mechanize installation instructions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

NOTE: This file describes the old-fashioned install.

I now recommend using EasyInstall instead.

See the web page for EasyInstall instructions (included here as
README.html).

If you use EasyInstall, you should ignore the rest of this file.


Dependencies
~~~~~~~~~~~~

See the web page for the version of Python required (included here as
README.html).

See setup.py for the required Python packages.


Installation
~~~~~~~~~~~~

To install the package, run the following command:

 python setup.py build

then (with appropriate permissions)

 python setup.py easy_install --no-deps .


Alternatively, just copy the whole mechanize directory into a directory
on your Python path (eg. unix: /usr/local/lib/python2.4/site-packages,
Windows: C:\Python24\Lib\site-packages).  Only copy the mechanize
directory that's inside the distributed tarball / zip archive, not the
entire mechanize-x.x.x directory!


To run the tests (none of which access the network), run the following
command:

 python test.py

This runs the tests against the source files extracted from the package.
For help on command line options:

 python test.py --help

To run the functional tests (which DO access the network), run the
following command:

 python functional_tests.py


Please send bugs and comments to the mailing list (or failing that, to
jjl@pobox.com):

https://lists.sourceforge.net/lists/listinfo/wwwsearch-general


NO WARRANTY

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Copyright Notices

  (C) 2002-2006 John J. Lee.  All rights reserved.
  (C) 1995-2001 Gisle Aas.  All rights reserved.   (Original LWP code)
  (C) 2002-2003 Johhny Lee.  All rights reserved.  (MSIE Perl code)
  (C) 2003 Andy Lester.  All rights reserved.  (Original WWW::Mechanize
      Perl code)

This code in this package is free software; you can redistribute it
and/or modify it under the terms of the BSD or ZPL 2.1 licenses (see the
file COPYING.txt).

John J. Lee <jjl@pobox.com>
May 2006