Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 62 lines (42 sloc) 2.086 kb
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
Python 2.2 or newer.


pythondialog is packaged with Distutils (the current standard way to
package Python extensions), so its installation should be as simple as:
  - make this file's directory your shell's current directory
  - optionally edit setup.cfg to make sure that it fits your needs
    (particularly the installation prefix); in the case of the prefix,
    you could alternatively specify it later with the --prefix,
    --exec-prefix, etc. arguments of are described in
    detail in the "Installing Python Modules" chapter of the Python

  - a) 1) type:

            python ./ build

       2) then, as root:

            python ./ install --record /path/to/foo

          where foo is a file of your choice which will contain the list
          of all files installed on your system by the preceding
          command. This will make uninstallation easy (you could ommit
          the "--record /path/to/foo", but uninstallation could not be
          automated, then).


    b) type, as root:

            python ./ install --record /path/to/foo

       This will automatically build the package before installing it.
       The observations made in a) also apply here.

If this default installation is not what you wish, please read the
Distutils documentation. In Python 2.1 and above, it is included in the
base Python documentation and the chapter you'll need is most probably
"Installing Python Modules".


Provided you have followed the instructions given in the installation
section, you have a /path/to/foo file that contains all the files the
installation process put on your system. Great! All you have to do is:

   while read file; do rm -f "$file"; done < /path/to/foo

under a Bourne-compatible shell and with the appropriate privileges
(maybe root, depending on where you installed pythondialog).

Note: this will handle file names with spaces correctly, unlike the
simpler "rm -f $(cat /path/to/foo)".
Something went wrong with that request. Please try again.