obelisk

Electrum server using libbitcoin as its backend
git clone https://git.parazyd.org/obelisk
Log | Files | Refs | README | LICENSE

commit 196f5385fc3b2cac9becf634c06c4d0fe927fcfb
parent 063c41d71640bde02839d8250fedde10633eba96
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 13 Apr 2021 00:05:42 +0200

Add setup.py for easy installation.

Diffstat:
MREADME.md | 8++++++--
Asetup.py | 23+++++++++++++++++++++++
2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -30,10 +30,14 @@ Usage Set up [obelisk.cfg](res/obelisk.cfg), and run ``` -./obelisk.py ./res/obelisk.cfg +./run_obelisk ./res/obelisk.cfg ``` -Some kind of setuptools installation should be written eventually. +Obelisk can also be installed with setuptools: + +``` +python3 setup.py install +``` License diff --git a/setup.py b/setup.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 +from setuptools import setup + +from obelisk.protocol import VERSION + +setup( + name="Obelisk", + version=VERSION, + packages=["obelisk"], + package_dir={ + "obelisk": "obelisk", + }, + install_requires=["pyzmq"], + scripts=["obelisk/obelisk"], + description="Electrum server using libbitcoin and zmq as backend", + author="Ivan J.", + author_email="parazyd@dyne.org", + license="AGPL-3", + url="https://github.com/parazyd/obelisk", + long_description="""Electrum server using libbitcoin and zmq as backend""", + include_package_data=True, + data_files=[("share/doc/obelisk", ["README.md", "res/obelisk.cfg"])], +)