bitbot icon indicating copy to clipboard operation
bitbot copied to clipboard

Make BitBot installable

Open progval opened this issue 5 years ago • 0 comments

I suggest you review this PR by reading it commit-per-commit.

The first one is huge and not very interesting. The last two ones are the interesting ones, and each one is self-contained.

After this PR, you can still run Bitbot with ./bitbotd, or you can use python3 setup.py install --user, (which installs two packages: bitbot and bitbot_modules) and then run bitbotd and bitbotctl from any directory.

If it's run in a directory that has a modules/ directory, it will be loaded and take precedence over modules bundled with bitbot.

It is also possible for third-party packages to register modules for bitbot, in their setup.py. See the docstring of _list_installed_modules for details

progval avatar Dec 15 '19 15:12 progval