From b8c9cf90d851d14340f8588898e37cb200ab9c7a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 28 Feb 2019 05:38:06 -0500 Subject: [PATCH] Restore eyeball-friendliness of INSTALL.adoc. --- INSTALL.adoc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/INSTALL.adoc b/INSTALL.adoc index 9806f2f..dc2fa2b 100644 --- a/INSTALL.adoc +++ b/INSTALL.adoc @@ -1,14 +1,18 @@ = Installing Open Adventure = -The instructions below assume your system uses Python 3 by default, but the actual Python code in Open Adventure is 2/3-agnostic. Adjust the example commands below accordingly. +The instructions below assume your system uses Python 3 by default, +but the actual Python code in Open Adventure is 2/3-agnostic. Adjust +the example commands below accordingly. -1. Install PyYAML for Python 3 (which requires Python 3) and libedit from http://thrysoee.dk/editline/ (aka: editline) on your system. +1. Install PyYAML for Python 3 (which requires Python 3) and libedit +from http://thrysoee.dk/editline/ (aka: editline) on your system. + On Debian and Ubuntu: `apt-get install python3-yaml libedit-dev`. + On Fedora: `dnf install python3-PyYAML libedit-devel`. + -If you are using MacPorts on OS X: `port install py3{5,6}-yaml`, as appropriate for your Python 3 version. +If you are using MacPorts on OS X: `port install py3{5,6}-yaml`, as +appropriate for your Python 3 version. + You can also use pip to install PyYAML: `pip3 install PyYAML`. @@ -25,7 +29,8 @@ Traceback (most recent call last): ImportError: No module named yaml ------------------------------------------------ + -try editing make_dungeon.py to change `+#!/usr/bin/env python+` to read `+#!/usr/bin/env python3+` +try editing make_dungeon.py to change `#!/usr/bin/env python` to +read `#!/usr/bin/env python3` 4. Optionally run a regression test on the code with `make check`. -- 2.31.1