basicswap/setup.py
2020-12-22 22:48:07 +02:00

43 lines
1.1 KiB
Python

import setuptools
import re
import io
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open('basicswap/__init__.py', encoding='utf_8_sig').read()
).group(1)
setuptools.setup(
name="basicswap",
version=__version__,
author="tecnovert",
author_email="tecnovert@tecnovert.net",
description="Simple atomic swap demo",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/tecnovert/basicswap",
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Linux",
],
install_requires=[
"wheel",
"pyzmq",
"protobuf",
"sqlalchemy",
"python-gnupg",
"Jinja2",
"requests",
"pycryptodome",
],
entry_points={
"console_scripts": [
"basicswap-run=bin.basicswap_run:main",
"basicswap-prepare=bin.basicswap_prepare:main",
]
},
test_suite="tests.basicswap.test_suite"
)