From 09eb6a4812825c49aaf8a35cd4e523f860b931e2 Mon Sep 17 00:00:00 2001 From: owsla Date: Thu, 25 Dec 2008 23:36:57 +0000 Subject: Update the README to be more specific about where rdiff-backup gets installed, and to mention that there is no 'python setup.py uninstall' command. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@983 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/README | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/rdiff-backup/README b/rdiff-backup/README index d183cd7..c0c9655 100644 --- a/rdiff-backup/README +++ b/rdiff-backup/README @@ -8,12 +8,17 @@ The build process can be also be run separately: python setup.py build -The default prefix is /usr, so files are put in /usr/bin, +The default prefix is generally /usr, so files would be put in /usr/bin, /usr/share/man/, etc. An alternate prefix can be specified using the --prefix= option. For example: python setup.py install --prefix=/usr/local +The default prefix depends on how you (or your distribution) installed and +configured Python. Suggested reading is "How installation works" from the +Python docs, which includes commands to determine your default prefix: +http://docs.python.org/install/index.html#how-installation-works + The setup script expects to find librsync headers and libraries in the default location, usually /usr/include and /usr/lib. If you want the setup script to check different locations, use the --librsync-dir @@ -26,12 +31,18 @@ instructs the setup program to look in /usr/local/include and Finally, the --lflags and --libs options, and the LFLAGS and LIBS environment variables are also recognized. Running setup.py with no -arguments will display some help. +arguments will display some help. Additional help is displayed by the +command: + + python setup.py install --help More information about using setup.py and how rdiff-backup is installed is available from the Python guide, Installing Python Modules for System -Administrators, located at http://docs.python.org/inst/inst.html, -particularly Section 4. +Administrators, located at http://docs.python.org/install/index.html + +NB: There is no uninstall command provided by the Python distutils system. +One strategy is to use the python setup.py install --record option +to save a list of the files installed to . To build from source on Windows, you can use the command: -- cgit v1.2.1