mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Remove libpq-dev as requirement for standard install (#1442)
This commit is contained in:
parent
736b2af9cf
commit
508a4cb423
4 changed files with 6 additions and 5 deletions
|
|
@ -25,7 +25,7 @@ COPY squeaknode ./squeaknode
|
|||
COPY proto ./proto
|
||||
COPY LICENSE MANIFEST.in README.md requirements.txt setup.cfg setup.py ./
|
||||
|
||||
RUN python3 setup.py install
|
||||
RUN pip install .[postgres]
|
||||
|
||||
FROM python:3.8-slim-buster
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ Node for [Squeak protocol](https://github.com/yzernik/squeak/blob/master/docs/PR
|
|||
* a bitcoin node
|
||||
* an LND node
|
||||
* Python 3.6 or later
|
||||
* libpq-dev (`sudo apt install libpq-dev` on ubuntu)
|
||||
|
||||
#### Optional
|
||||
* a Tor SOCKS5 proxy (you can open Tor Browser and run it in the background)
|
||||
|
|
@ -43,7 +42,7 @@ Node for [Squeak protocol](https://github.com/yzernik/squeak/blob/master/docs/PR
|
|||
$ virtualenv venv
|
||||
$ source venv/bin/activate
|
||||
$ pip install -r requirements.txt
|
||||
$ python setup.py install
|
||||
$ pip install .
|
||||
```
|
||||
- Start squeaknode:
|
||||
```
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ grpcio-tools==1.39.0
|
|||
importlib_resources==1.4.0
|
||||
mypy-protobuf==2.9
|
||||
protobuf==3.17.3
|
||||
psycopg2==2.9.1
|
||||
PySocks==1.7.1
|
||||
python-bitcoinlib==0.11.0
|
||||
pyzmq==22.3.0
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -97,7 +97,10 @@ setup(
|
|||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
extras_require={"test": ["pytest", "coverage"]},
|
||||
extras_require={
|
||||
"test": ["pytest", "coverage"],
|
||||
"postgres": ["psycopg2"],
|
||||
},
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'squeaknode = squeaknode.main:main',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue