mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
add setupall.py --all mode
This commit is contained in:
parent
697d8d7691
commit
a057b87e4b
1 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ import sys, os, subprocess
|
|||
(a) daemon - installs jmbase, jmdaemon
|
||||
(b) client-only - installs jmbase, jmclient
|
||||
(c) client-bitcoin - installs jmbase, jmclient, jmbitcoin
|
||||
(d) all - installs jmbase, jmclient, jmbitcoin, jmdaemon
|
||||
(e) develop - installs jmbase, jmclient, jmbitcoin, jmdaemon linked to the source directoy
|
||||
|
||||
Note that b and c are distinct mainly due to the fact that
|
||||
the latter requires the secp256k1 (libsecp256k1 via the secp256k1-py binding),
|
||||
|
|
@ -18,6 +20,7 @@ All modes require and install twisted.
|
|||
def help():
|
||||
print("Usage: python setupall.py <mode>\n"
|
||||
"Mode is one of:\n"
|
||||
"`--all` - for the full joinmarket package with secp256k1\n"
|
||||
"`--daemon` - for joinmarketd\n"
|
||||
"`--client-only` - for client not using joinmarket's own bitcoin code\n"
|
||||
"`--client-bitcoin` - using joinmarket bitcoin code, installs secp256k1\n"
|
||||
|
|
@ -32,7 +35,8 @@ curdir = os.getcwd()
|
|||
|
||||
mode = sys.argv[1]
|
||||
|
||||
packages = {"--daemon": ["jmbase", "jmdaemon"],
|
||||
packages = {"--all": ["jmbase", "jmbitcoin", "jmclient", "jmdaemon"],
|
||||
"--daemon": ["jmbase", "jmdaemon"],
|
||||
"--client-only": ["jmbase", "jmclient"],
|
||||
"--client-bitcoin": ["jmbase", "jmbitcoin", "jmclient"],
|
||||
"--develop": ["jmbase", "jmbitcoin", "jmclient", "jmdaemon"]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue