-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
33 lines (25 loc) · 913 Bytes
/
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
from setuptools import find_packages, setup
def readme():
with open('README.md', 'r') as f:
long_description = f.read()
return long_description
version_file = 'futubot/version.py'
def get_version():
with open(version_file, 'r') as f:
exec(compile(f.read(), version_file, 'exec'))
return locals()['__version__']
if __name__ == '__main__':
print('version no', get_version())
setup(
name='futubot',
version=get_version(),
description='Futubot - An intraday trading robot utilizing Futu APIs',
long_description=readme(),
author='Quincy Lin',
author_email='quincylin.333@gmail.com',
packages=find_packages(exclude=('configs', 'tools', 'demo')),
install_requires=[
'dash', 'dash-bootstrap-components', 'dash-core-components',
'futu-api', 'pandas', 'plotly', 'numpy'
],
)