Scratching an itch.
.. toc::
Release N.N
./setup.py
to set the version to N.N, and commit this.release-N.N
and push the tag to github../setup.py sdist --upload --sign --identity $YOUR_CODE_SIGNING_PGP_ID
pip install leastbot
. Check the installation was successful and has the right version (FIXME: How?).virtualenv
as per these instructions
_... _`these instructions`: http://virtualenv.readthedocs.org/en/latest/virtualenv.html#installation
.. code::
sudo apt-get install build-essential python-dev libffi-dev
.. code::
sudo adduser --disabled-password leastbot
.. code::
sudo su - leastbot
virtualenv
for leastbot
and its dependencies:.. code::
mkdir ./leastbotvenv
virtualenv ./leastbotvenv
source ./leastbotvenv/bin/activate
service_identity
for some weird reason I don't quite understand but seems related to the python cryptography
package:.. code::
pip install service_identity
leastbot
from pypi (into the activated virtualenv
):.. code::
pip install leastbot
leastbot
to see an error message about how the secret config file is missing:.. code::
leastbot
(Also, you probably want to make this file readable only by the `leastbot` user.)
.. code::
leastbot
leastbot
, which should succeed and connect to irc:.. code::
leastbot
.. warning:: The default commandline is equivalent to ``leastbot --log-level DEBUG`` which is *very verbose* and includes *all messages to a channel*. Be aware of the confidentiality and space impact. I *believe* that ``leastbot --log-level INFO`` will be relatively concise and privacy-preserving. Caveat emptor.
leastbot
has joined the expected irc channel by viewing its log output and also by joining the channel with another irc client and observing the channel roster and/or join notifications... admonition:: TODO
Improve this part of the instructions.