equal
deleted
inserted
replaced
29 Install again and save list of installed files:: |
29 Install again and save list of installed files:: |
30 |
30 |
31 $ python setup.py install --record files.txt |
31 $ python setup.py install --record files.txt |
32 $ rm `cat files.txt` |
32 $ rm `cat files.txt` |
33 |
33 |
|
34 .. |
|
35 |
34 http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages |
36 http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages |
35 Uninstalling Packages |
37 Uninstalling Packages |
36 |
38 |
37 Generate documentation from Python sources. |
39 Generate documentation from Python sources. |
38 =========================================== |
40 =========================================== |
39 |
41 |
40 Generate documentation from Python sources by pydoc. |
42 Generate documentation from Python sources by pydoc:: |
41 ---------------------------------------------------- |
|
42 :: |
|
43 |
43 |
44 $ mkdir html |
44 $ mkdir html |
45 $ cd html |
45 $ cd html |
46 $ pydoc -w ../ |
46 $ pydoc -w ../ |
47 |
47 |
48 Generate documentation from Python sources by epydoc. |
48 Generate documentation from Python sources by epydoc:: |
49 ----------------------------------------------------- |
|
50 |
49 |
51 Generate documentation from Python sources by Sphinx. |
50 TODO |
52 ----------------------------------------------------- |
51 |
53 :: |
52 Generate documentation from Python sources by Sphinx:: |
54 |
53 |
55 $ sudo apt-get install python-sphinx |
54 $ sudo apt-get install python-sphinx |
56 $ sudo apt-get install rst2pdf |
55 $ sudo apt-get install rst2pdf |
57 |
56 |
58 Code analyzers and style checkers. |
57 Code analyzers and style checkers. |
81 print(pprint.pformat(['1', '2'])) |
80 print(pprint.pformat(['1', '2'])) |
82 |
81 |
83 See: |
82 See: |
84 |
83 |
85 http://docs.python.org/library/pprint.html |
84 http://docs.python.org/library/pprint.html |
86 Doc page. |
85 Doc page. |
87 |
86 |
88 Trace Python execution. |
87 Trace Python execution. |
89 ======================= |
88 ======================= |
90 |
89 |
91 http://python-ptrace.hachoir.org/trac |
90 http://python-ptrace.hachoir.org/trac |
92 python-ptrace by Victor Stinner |
91 python-ptrace by Victor Stinner |
93 http://subterfugue.org/ |
92 http://subterfugue.org/ |
94 subterfugue |
93 subterfugue |
95 |
94 |