python.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 29 Sep 2011 00:35:07 +0300
changeset 1014 4716ec9e29f5
parent 1013 49a5602070a9
child 1190 26fd684df3ee
permissions -rw-r--r--
Install python modules/packages.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1013
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8 -*-
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
========
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
 Python
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
========
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
.. contents::
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
Licence and history of Python.
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
==============================
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
  http://docs.python.org/dev/license.htm
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
Byte compile .py and check for errors.
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
======================================
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
::
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
  $ python -m compileall dir
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
1014
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    19
Install python modules/packages.
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    20
================================
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    21
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    22
  http://wiki.python.org/moin/CheeseShopTutorial
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    23
                Installing Distributions from the Python Package Index (Start Here)
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    24
1013
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
Uninstall python modules.
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
=========================
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
Install again and save list of installed files::
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
  $ python setup.py install --record files.txt
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
  $ rm `cat files.txt`
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
1014
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    33
  http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    34
                Uninstalling Packages
4716ec9e29f5 Install python modules/packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1013
diff changeset
    35
1013
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
Code analyzers and style checkers.
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
==================================
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
Pylint.
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
-------
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
  http://www.logilab.org/857
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
  http://pypi.python.org/pypi/pylint
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
PyChecker.
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
----------
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
  http://pychecker.sourceforge.net/
49a5602070a9 Uninstall python modules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49