From ed907def1f34d38cdd56edc655217c9c6a7a2846 Mon Sep 17 00:00:00 2001 From: prculley Date: Sun, 5 Nov 2017 07:27:29 -0600 Subject: [PATCH] Change INSTALL to replace 'python' with 'python3 for script invokes --- INSTALL | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/INSTALL b/INSTALL index 1d2197bb2..c135869fe 100644 --- a/INSTALL +++ b/INSTALL @@ -33,11 +33,11 @@ all required and optional dependencies. Missing dependencies will result in runtime errors. To build and install, whether from a tarball or git repo: - python setup.py build - sudo python setup.py install + python3 setup.py build + sudo python3 setup.py install You can avoid using sudo for the install step by specifying a prefix to which you have write priviledge. The default is /usr/local, which is usually owned by root. You can learn of more options with - python setup.py --help + python3 setup.py --help One can use gramps from the command line without installing it by setting the following environment variables, but that won't provide @@ -71,7 +71,7 @@ from the source directory. b) You installed Gramps, and want to start it from the PYTHONPATH. In this case use the command: - python -c 'from gramps.grampsapp import main; main()' + python3 -c 'from gramps.grampsapp import main; main()' The executable 'gramps' in /usr/local/bin or /usr/bin from a) does this for you. @@ -79,7 +79,7 @@ from the source directory. b) You downloaded the Gramps source code to a directory, and want to run it. You can start Gramps from the source code directory with - python Gramps.py + python3 Gramps.py See gramps/gen/const.py how Gramps finds its resource directories in case you encounter problems. @@ -90,17 +90,17 @@ If you would like to install Gramps without being root, or in an alternative location on windows, supply the --root argument to setup.py For example: - python setup.py install --root ~/test + python3 setup.py install --root ~/test Packager's issues ------------------ There is a MANIFEST.in file to indicate the work needed. To create a source distribution run: - python setup.py sdist + python3 setup.py sdist If Gramps is built outside of the source tree in a temporary location (e.g. when packaging for a distribution), the --resourcepath option can be used to specify the path to the installed location of the Gramps resources (e.g. /usr/share): - python setup.py install --resourcepath=/usr/share + python3 setup.py install --resourcepath=/usr/share