ckbunker/setup.py
Andreas Schjønhaug b33620ce9f Added install requirements and packages=[]
In version 61 of setuptools, there is a [breaking change](https://setuptools.pypa.io/en/latest/history.html#v61-0-0) that introduced auto discovery for packages if no `packages` or `py_modules` is explicitly specified.

To make the command `pip install --editable .` work, I had to add `packages=[],` and list all the packages used under `install_requirements`.
2022-07-19 08:34:18 -04:00

48 lines
1.2 KiB
Python

# Copyright 2020 by Coinkite Inc. This file is covered by license found in COPYING-CC.
#
# based on <http://click.pocoo.org/5/setuptools/#setuptools-integration>
#
# To use this, install with:
#
# pip install --editable .
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='bunker',
version='0.1',
license='MIT+CC',
python_requires='>=3.7.0',
url='https://github.com/Coldcard/ckbunker',
author='Coinkite Inc.',
author_email='support@coinkite.com',
description="Submit PSBT files automatically to your Coldcard for signing",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[ # see requirements.txt tho.
'Click',
'stem',
'aiohttp',
'aiohttp-jinja2',
'ckcc-protocol>=1.3.2',
'pyyaml',
'pynacl==1.3.0',
'pendulum==2.0.3',
'aiohttp_session',
'requests[socks]',
],
entry_points='''
[console_scripts]
ckbunker=main:main
''',
classifiers=[
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
],
packages=[],
)