-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (45 loc) · 1.47 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
53
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Python stub library for Alphalogic adapters.
"""
import sys
import platform
from setuptools import setup
from alphalogic_api import __version__
cur = 'win32' if sys.platform == 'win32' else platform.linux_distribution()[0].lower()
ext = '.zip' if sys.platform == 'win32' else '.tar.gz'
bin_name = 'alphalogic_api-%s-%s%s' % (cur, __version__, ext)
if __name__ == '__main__':
with open('README.md', 'r') as fh:
long_description = fh.read()
setup(
name='alphalogic-api',
version=__version__,
description=__doc__.replace('\n', '').strip(),
long_description=long_description,
long_description_content_type='text/markdown',
author='Alphaopen',
author_email='mo@alphaopen.com',
url='https://github.com/Alphaopen/alphalogic_api',
py_modules=['alphalogic_api'],
include_package_data=True,
packages=[
'alphalogic_api',
'alphalogic_api.objects',
'alphalogic_api.protocol',
'alphalogic_api.tests'
],
classifiers=(
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
license='MIT',
platforms=['linux2', 'win32'],
install_requires=[
'protobuf==3.17.3',
'grpcio==1.39.0',
'grpcio-tools==1.39.0',
],
)