This repository has been archived by the owner on Jan 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
52 lines (46 loc) · 1.62 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import sys
from codecs import open
from os import path
from setuptools import setup, find_packages
install_requires = [
'grpcio',
'grpcio-tools',
'googleapis-common-protos'
]
exclude_packages = ['tests']
MAJOR = sys.version_info[0]
MINOR = sys.version_info[1]
# only include the async grpc client for python 3.6+
if MAJOR == 3 and MINOR >= 6:
install_requires.append('aiogrpc')
else:
# exclude the async_client
exclude_packages.append('*.aio')
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='lndgrpc',
packages=find_packages(exclude=exclude_packages),
install_requires=install_requires,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
version='0.2.0',
description='An rpc client for LND (lightning network deamon)',
long_description=long_description,
author='Adrien Emery',
author_email='[email protected]',
url='https://github.com/adrienemery/lnd-grpc-client',
download_url='https://github.com/adrienemery/lnd-grpc-client/archive/0.2.0.tar.gz',
keywords=['lnd', 'lightning-network', 'bitcoin', 'grpc', 'rpc', 'async'],
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)